org.game.JVirus
Class JVirusFrame.WindowCloser

java.lang.Object
  |
  +--java.awt.event.WindowAdapter
        |
        +--org.game.JVirus.JVirusFrame.WindowCloser
All Implemented Interfaces:
java.util.EventListener, java.awt.event.WindowListener
Enclosing class:
JVirusFrame

protected class JVirusFrame.WindowCloser
extends java.awt.event.WindowAdapter

Helper class for JVirusFrame to close it.

See Also:
JVirusFrame

Field Summary
protected  javax.swing.JFrame frame
          the frame to close
 
Constructor Summary
JVirusFrame.WindowCloser(javax.swing.JFrame frame)
          Main constructor.
 
Method Summary
 void windowClosing(java.awt.event.WindowEvent e)
          from WindowAdapter.
 
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, toString, wait, wait, wait
 

Field Detail

frame

protected javax.swing.JFrame frame
the frame to close
Constructor Detail

JVirusFrame.WindowCloser

public JVirusFrame.WindowCloser(javax.swing.JFrame frame)
Main constructor.
Parameters:
frame - parent frame.
Method Detail

windowClosing

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