01: package discRack.actions;
02:
03: import discRack.*;
04: import discRack.presentation.*;
05:
06: import javax.swing.*;
07: import java.awt.event.ActionEvent;
08:
09: /**
10: * Class that realizes <B>login</B> action.
11: *
12: * @author Sasa Bojanic
13: * @version 1.0
14: */
15: public class Register extends ActionBase {
16:
17: public Register(DiscRack discRack) {
18: super (discRack);
19: }
20:
21: public void actionPerformed(ActionEvent e) {
22: discRack.presentation.Person reg = new discRack.presentation.Person();
23: DElementDialog ded = new DElementDialog(discRack.getFrame(),
24: "DiscRack - registering");
25: ded.editDElement(reg.getPanel(), true);
26: }
27:
28: }
|