Order the Book

coreservlets
Class ExitListener

java.lang.Object
  |
  +--java.awt.event.WindowAdapter
        |
        +--coreservlets.ExitListener

public class ExitListener
extends WindowAdapter

A listener that you attach to the top-level Frame or JFrame of your application, so quitting the frame exits the application.

Taken from Core Servlets and JavaServer Pages from Prentice Hall and Sun Microsystems Press, http://www.coreservlets.com/. © 2000 Marty Hall; may be freely used or adapted.


Constructor Summary
ExitListener()
           
 
Method Summary
 void windowClosing(WindowEvent event)
           
 
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
 

Constructor Detail

ExitListener

public ExitListener()
Method Detail

windowClosing

public void windowClosing(WindowEvent event)
Overrides:
windowClosing in class WindowAdapter

Order the Book

Order
CSAJSP @ amazon.com

Return to Top-Level Source Code Archive