Examples of addLoginActionListener()


Examples of com.l2client.gui.dialogs.TransparentLoginPanel.addLoginActionListener()

        final TransparentLoginPanel pan = Singleton.get().getGuiController()
            .displayUserPasswordJPanel();
        // get properties initialized from file or by defaut
        pan.setServer(System.getProperty(UserPropertiesDAO.SERVER_HOST_PROPERTY)+":"+System.getProperty(UserPropertiesDAO.SERVER_PORT_PROPERTY));
        // action that gets executed in the update thread:
        pan.addLoginActionListener(new ActionListener(){
          @Override
          public void actionPerformed(ActionEvent e) {
                // this gets executed in jme thread
                // do 3d system calls in jme thread only!
//                SoundController.getInstance().playOnetime("sound/click.ogg", false, Vector3f.ZERO);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.