KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > discRack > actions > Exit


1 package discRack.actions;
2
3 import discRack.*;
4
5 import java.awt.event.ActionEvent JavaDoc;
6
7 /**
8  * Class that realizes <B>exit</B> action.
9  *
10  * @author Sasa Bojanic
11  * @version 1.0
12  */

13 public class Exit extends ActionBase {
14
15    public Exit (DiscRack discRack) {
16       super(discRack);
17    }
18
19    public void actionPerformed(ActionEvent JavaDoc e) {
20       System.exit(0);
21    }
22 }
23
Popular Tags