package application; /** * <code>FrameApplicationClosing</code> object catches window events */ public class FrameApplicationClosing extends java.awt.event.WindowAdapter { // ----- Operations ---------- /** * Catches event and exits the program */ public void windowClosing(java.awt.event.WindowEvent event) { System.exit(0); } // method: windowClosing } // class: FrameApplicationClosing