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