public class RequestFocusListener extends Object implements WindowFocusListener
RequestFocusListener can take a JComponent which will gain focus when
the window/frame/dialog will show.addRequestFocusListener method.
When the requestFocus event occurs, that object's appropriate method is invoked.| Constructor and Description |
|---|
RequestFocusListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
windowGainedFocus(WindowEvent e) |
void |
windowLostFocus(WindowEvent e) |
public void windowGainedFocus(WindowEvent e)
windowGainedFocus in interface WindowFocusListenerpublic void windowLostFocus(WindowEvent e)
windowLostFocus in interface WindowFocusListenerCopyright © 2015–2019 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.