| ExitAction.java |
1 import java.awt.event.ActionEvent;
2
3 import javax.swing.AbstractAction;
4
5 /*
6 * Created on 29.04.2004
7 *
8 * To change the template for this generated file go to
9 * Window - Preferences - Java - Code Generation - Code and Comments
10 */
11/**
12 * @author fm
13 *
14 * To change the template for this generated type comment go to
15 * Window - Preferences - Java - Code Generation - Code and Comments
16 */
17public 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| ExitAction.java |