Mega Code Archive

 
Categories / Java Tutorial / Swing Event
 

The WindowListener Interface

Defined Methods Description windowOpened(WindowEvent e)Called the first time the window is opened windowClosing(WindowEvent e)Called when the system menu Close item or the window close icon is selected windowClosed(WindowEvent e)Called when the window has been closed windowActivated(WindowEvent e)Called when the window is activated - by clicking on it, for example windowDeactivated(WindowEvent e)Called when a window is deactivated - by clicking on another window, for example windowIconified(WindowEvent e)Called when a window is minimized and reduced to an icon windowDeiconified(WindowEvent e)Called when a window is restored from an icon