Register.java :  » J2EE » enhydra » discRack » actions » Java Open Source

Java Open Source » J2EE » enhydra 
enhydra » discRack » actions » Register.java
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);
   }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.