javax.swing

Class JMenu.WinListener

protected class JMenu.WinListener extends WindowAdapter implements Serializable

Constructor Summary
WinListener(JPopupMenu popup)
Creates a new WinListener.
Method Summary
voidwindowClosing(WindowEvent event)
Receives notification when the popup menu is closing and deselects the menu.

Constructor Detail

WinListener

public WinListener(JPopupMenu popup)
Creates a new WinListener.

Parameters: popup the popup menu which is observed

Method Detail

windowClosing

public void windowClosing(WindowEvent event)
Receives notification when the popup menu is closing and deselects the menu.

Parameters: event the window event