< prev index next >
src/java.desktop/share/classes/javax/swing/plaf/synth/SynthButtonUI.java
Print this page
*** 140,150 ****
SynthContext getContext(JComponent c, int state) {
return SynthContext.getContext(c, style, state);
}
/**
! * Returns the current state of the passed in <code>AbstractButton</code>.
*/
private int getComponentState(JComponent c) {
int state = ENABLED;
if (!c.isEnabled()) {
--- 140,150 ----
SynthContext getContext(JComponent c, int state) {
return SynthContext.getContext(c, style, state);
}
/**
! * Returns the current state of the passed in {@code AbstractButton}.
*/
private int getComponentState(JComponent c) {
int state = ENABLED;
if (!c.isEnabled()) {
< prev index next >