public interface WindowFocusListener extends EventListener
WindowAdapter,
WindowEvent| Modifier and Type | Method and Description |
|---|---|
void |
windowGainedFocus(WindowEvent event)
This method is called when a window gains focus.
|
void |
windowLostFocus(WindowEvent event)
This method is called when a window loses focus.
|
void windowGainedFocus(WindowEvent event)
event - the WindowEvent indicating the focus changevoid windowLostFocus(WindowEvent event)
event - the WindowEvent indicating the focus change