protected class JMenu.WinListener extends java.awt.event.WindowAdapter implements java.io.Serializable
| Constructor and Description |
|---|
JMenu.WinListener(JPopupMenu popup)
Creates a new
WinListener. |
| Modifier and Type | Method and Description |
|---|---|
void |
windowClosing(java.awt.event.WindowEvent event)
Receives notification when the popup menu is closing and deselects
the menu.
|
public JMenu.WinListener(JPopupMenu popup)
WinListener.popup - the popup menu which is observedpublic void windowClosing(java.awt.event.WindowEvent event)
windowClosing in interface java.awt.event.WindowListenerwindowClosing in class java.awt.event.WindowAdapterevent - the window event