List of usage examples for java.awt Button enable
@Deprecated public void enable()
From source file:ExposedInt.java
void enableDisableButton(Button b, int val) { if (!b.isEnabled()) { if (value != val) { b.enable(); }/*from w ww .j av a2 s .c om*/ } else if (value == val) { b.disable(); } }
From source file:ExposedFloat.java
void enableDisableButton(Button b, float val) { if (!b.isEnabled()) { if (value != val) { b.enable(); }//from www.j a va 2s. c om } else if (value == val) { b.disable(); } }