package discRack.actions;
import discRack.*;
import discRack.presentation.*;
import javax.swing.*;
import java.awt.event.ActionEvent;
/**
* Class that realizes <B>login</B> action.
*
* @author Sasa Bojanic
* @version 1.0
*/
public class Register extends ActionBase {
public Register (DiscRack discRack) {
super(discRack);
}
public void actionPerformed(ActionEvent e) {
discRack.presentation.Person reg=new discRack.presentation.Person();
DElementDialog ded=new DElementDialog(discRack.getFrame(),
"DiscRack - registering");
ded.editDElement(reg.getPanel(),true);
}
}
|