Package com.zycus.dotproject.ui

Examples of com.zycus.dotproject.ui.LoginScreen


  }
 
  public boolean performLogin() {
    JDialog dlgLogin = new JDialog(new JFrame(), "Login");
    dlgLogin.setIconImage(IconHelper.getProductLogoImage());
    LoginScreen loginScreen = new LoginScreen(dlgLogin);
    dlgLogin.add(loginScreen);
    dlgLogin.setModal(true);
    try
    {
        UIManager.setLookAndFeel(ApplicationContext.getCurrentLookAndFeel().getClassName());
      SwingUtilities.updateComponentTreeUI(dlgLogin);
    }
    catch(Exception excp)
    {
        System.out.println(excp);
    }
    dlgLogin.pack();
    dlgLogin.setLocationRelativeTo(null);
    dlgLogin.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
    dlgLogin.setVisible(true);   
    return loginScreen.getLoginStatus();
  }
View Full Code Here

TOP

Related Classes of com.zycus.dotproject.ui.LoginScreen

Copyright © 2018 www.massapicom. 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.