protected class JMenu.WinListener extends WindowAdapter implements Serializable
| Constructor and Description |
|---|
JMenu.WinListener(JPopupMenu popup)
Creates a new
WinListener. |
| Modifier and Type | Method and Description |
|---|---|
void |
windowClosing(WindowEvent event)
Receives notification when the popup menu is closing and deselects
the menu.
|
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChangedpublic JMenu.WinListener(JPopupMenu popup)
WinListener.popup - the popup menu which is observedpublic void windowClosing(WindowEvent event)
windowClosing in interface WindowListenerwindowClosing in class WindowAdapterevent - the window event