/** * Enables and disables this button and if an action is assigned to this button the * propertychange is forwarded to the assigned action. * * @param b the new enable-state of this button */ public void setEnabled(final boolean b) { super.setEnabled(b); if (getAction() != null) { getAction().setEnabled(b); } }
/** * Enables and disables this button and if an action is assigned to this button the * propertychange is forwarded to the assigned action. * * @param b the new enable-state of this button */ public void setEnabled(final boolean b) { super.setEnabled(b); if (getAction() != null) { getAction().setEnabled(b); } }
/** * Enables and disables this button and if an action is assigned to this button the * propertychange is forwarded to the assigned action. * * @param b the new enable-state of this button */ public void setEnabled(final boolean b) { super.setEnabled(b); if (getAction() != null) { getAction().setEnabled(b); } }
final Action oldAction = getAction(); if (oldAction != null)
final Action oldAction = getAction(); if (oldAction != null)
final Action oldAction = getAction(); if (oldAction != null)