1 import java.awt.event.ActionEvent ;2 3 import javax.swing.AbstractAction ;4 5 /*6 * Created on 29.04.20047 *8 * To change the template for this generated file go to9 * Window - Preferences - Java - Code Generation - Code and Comments10 */11 /**12 * @author fm13 *14 * To change the template for this generated type comment go to15 * Window - Preferences - Java - Code Generation - Code and Comments16 */17 public class ExitAction extends AbstractAction {18 /* (non-Javadoc)19 * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)20 */21 public void actionPerformed(ActionEvent e) {22 System.exit(0);23 }24 }25