// @topic T11694 Swing demo A9 -- GUI window with radio buttons and menu // @brief class FrameApplicationClosing extends java.awt.event.WindowAdapter /** * @author ik */ package pckg; /** * <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