01: package discRack.actions;
02:
03: import discRack.*;
04:
05: import java.awt.event.ActionEvent;
06:
07: /**
08: * Class that realizes <B>exit</B> action.
09: *
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 e) {
20: System.exit(0);
21: }
22: }
|