List of usage examples for java.awt Button disable
@Deprecated public void disable()
From source file:ExposedInt.java
void enableDisableButton(Button b, int val) { if (!b.isEnabled()) { if (value != val) { b.enable();/*from w w w . j a v a2 s .co m*/ } } 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();/*w ww . j a v a 2 s .c om*/ } } else if (value == val) { b.disable(); } }