Buttonjava deaktivieren

btn.setEnabled(false);
Comfortable Cottonmouth