java.lang.Object
java.awt.event.WindowAdapter
com.orsoncharts.demo.ExitOnClose
- All Implemented Interfaces:
WindowFocusListener
,WindowListener
,WindowStateListener
,EventListener
Shuts down the JVM when the demo window is closed.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
-
Constructor Details
-
ExitOnClose
public ExitOnClose()
-
-
Method Details
-
windowClosing
- Specified by:
windowClosing
in interfaceWindowListener
- Overrides:
windowClosing
in classWindowAdapter
-