Class GameGui.Close

java.lang.Object
  |
  +--java.awt.event.WindowAdapter
        |
        +--GameGui.Close
All Implemented Interfaces:
java.util.EventListener, java.awt.event.WindowListener
Enclosing class:
GameGui

public class GameGui.Close
extends java.awt.event.WindowAdapter

Terminates the application when the window is closed. See John Cowell, Essential Java 2 Fast, pages 144-145 for an explanation of this method.


Constructor Summary
GameGui.Close()
           
 
Method Summary
 void windowClosing(java.awt.event.WindowEvent e)
           
 
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowIconified, windowOpened
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

GameGui.Close

public GameGui.Close()
Method Detail

windowClosing

public void windowClosing(java.awt.event.WindowEvent e)
Overrides:
windowClosing in class java.awt.event.WindowAdapter