KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > discRack > actions > Register


1 package discRack.actions;
2
3 import discRack.*;
4 import discRack.presentation.*;
5
6 import javax.swing.*;
7 import java.awt.event.ActionEvent JavaDoc;
8
9 /**
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 JavaDoc 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 }
29
Popular Tags