Class ExitOnClose
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 WindowAdapter
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
-
Constructor Details
-
ExitOnClose
public ExitOnClose()
-
-
Method Details
-
windowClosing
- Specified by:
windowClosingin interfaceWindowListener- Overrides:
windowClosingin classWindowAdapter
-