// @topic T11697 Swing demo A9 -- GUI window with radio buttons and menu
// @brief class MenuFileExitListener extends javax.swing.AbstractAction
/**
 * @author ik
 */

package pckg;

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;

/**
 * Listens to the Exit Menu
 */
class MenuFileExitListener extends javax.swing.AbstractAction
{
    // ----- Operations ----------
    public MenuFileExitListener(String aLabel)
    {
        super(aLabel);
    } // method: MenuFileExitListener

    /** 
    * Handles user clicks
    */
    public void actionPerformed(ActionEvent event)
    {
        System.exit(0);
    } // method: actionPerformed

}//class MenuFileExitListener