// @topic T11684 Swing demo A8 -- GUI window with three radio buttons // @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