KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ExitAction


1 import java.awt.event.ActionEvent JavaDoc;
2
3 import javax.swing.AbstractAction JavaDoc;
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  */

17 public class ExitAction extends AbstractAction JavaDoc {
18     /* (non-Javadoc)
19      * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
20      */

21     public void actionPerformed(ActionEvent JavaDoc e) {
22         System.exit(0);
23     }
24 }
25
Popular Tags