yeehah, got kona compiling again. didn't even know it was having issues.
[feisty_meow.git] / kona / src / org / feistymeow / windowing / ExitListener.java
1 package org.feistymeow.windowing;\r
2 \r
3 import java.awt.event.*;\r
4 \r
5 /** A listener that you attach to the top-level Frame or JFrame of\r
6  *  your application, so quitting the frame exits the application.\r
7  *  1998-99 Marty Hall, http://www.apl.jhu.edu/~hall/java/\r
8  */\r
9 \r
10 public class ExitListener extends WindowAdapter {\r
11   public void windowClosing(WindowEvent event) {\r
12     System.exit(0);\r
13   }\r
14 }\r