|Constructor and Description|
|Modifier and Type||Method and Description|
Called when a component's enabled state has changed.
Called when a component's focused state has changed.
public void enabledChanged(Component component)
Called both when the component is enabled and when it is disabled.
enabled flag has already been set when this
method is called so the new state can be determined by calling the
This will be called both when a component gains focus and when it loses
focus. The currently focused component has already been set when this method
is called, so that the new state of the component can be determined by calling
component- The component that is either gaining focus or the one that previously had focus and is now losing it.
obverseComponent- If the component is gaining focus, this is the component that is losing focus. If the component is losing focus this is the component that is gaining the focus instead.