edu.northwestern.at.utils.swing
Class SwingUtils.ExitListener

java.lang.Object
  extended by java.awt.event.WindowAdapter
      extended by edu.northwestern.at.utils.swing.SwingUtils.ExitListener
All Implemented Interfaces:
java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener, java.util.EventListener
Enclosing class:
SwingUtils

public static class SwingUtils.ExitListener
extends java.awt.event.WindowAdapter

Quits application when main JFrame is closed.


Constructor Summary
SwingUtils.ExitListener()
           
 
Method Summary
 void windowClosing(java.awt.event.WindowEvent event)
           
 
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingUtils.ExitListener

public SwingUtils.ExitListener()
Method Detail

windowClosing

public void windowClosing(java.awt.event.WindowEvent event)
Specified by:
windowClosing in interface java.awt.event.WindowListener
Overrides:
windowClosing in class java.awt.event.WindowAdapter