javax.swing
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, windowStateChanged
public JMenu.WinListener(JPopupMenu popup)
WinListener
.popup
- the popup menu which is observedpublic void windowClosing(WindowEvent event)
windowClosing
in interface WindowListener
windowClosing
in class WindowAdapter
event
- the window event