Examples of LoginFrame


Examples of edu.wpi.cs.wpisuitetng.janeway.gui.login.LoginFrame

   
    // Start the GUI
    SwingUtilities.invokeLater(new Runnable() {
      public void run() {
        final JanewayFrame gui = JanewayFrame.initialize(modules);
        final LoginFrame loginGui = new LoginFrame("Janeway");
       
        if (args.length > 0 && args[0].equals("-nologin")) {
          loginGui.setVisible(false);
          gui.setVisible(true);
        }
        else {
          loginGui.setVisible(true);
          gui.setVisible(false);
          loginGui.getConnectButton().addActionListener(new LoginController(gui, loginGui));
        }
      }
    });
  }
View Full Code Here

Examples of guiLayer.LoginFrame

  }
 
  private void startLoginScreen() throws Exception
  {
    LoginScreenMediator m = new LoginScreenMediator();
    LoginFrame frame = new LoginFrame(m);
    WindowEvent wev = new WindowEvent(frame, WindowEvent.WINDOW_CLOSING);
    m.l = new LoginMaster(frame.data.li,wev);
    frame.setVisible(true);
  }
View Full Code Here

Examples of org.gojul.fourinaline.gui.LoginFrame

        // WA for problems that may occur under some badly shaped platforms, as Debian Lenny
        // which seems to have a problem with the Java desktop integration...
        UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
      }
     
      new LoginFrame().setVisible(true);
    }
  }
View Full Code Here

Examples of org.spoutcraft.launcher.skin.components.LoginFrame

      logger.info("Internet validation and look and feel took " + (System.currentTimeMillis() - start) + " ms");
      start = System.currentTimeMillis();
    }

    // Set up the launcher and load login frame
    LoginFrame frame = new MetroLoginFrame();

    try {
      @SuppressWarnings("unused")
      Launcher launcher = new Launcher(new GameUpdater(), new GameLauncher(), frame);
    } catch (IOException failure) {
      failure.printStackTrace();
      ErrorDialog dialog = new ErrorDialog(frame, failure);
      splash.dispose();
      frame.setVisible(true);
      dialog.setAlwaysOnTop(true);
      dialog.setVisible(true);
      return;
    }
    Launcher.getGameUpdater().start();

    if (Settings.isDebugMode()) {
      logger.info("Loading default launcher skin took " + (System.currentTimeMillis() - start) + " ms");
      start = System.currentTimeMillis();
    }

    splash.dispose();
    frame.setVisible(true);
    if (params.hasAccount()) {
      frame.disableForm();
      frame.doLogin(params.getUser(), params.getPass());
    }

    logger.info("Launcher startup took " + (System.currentTimeMillis() - startupTime) + "ms");
  }
View Full Code Here

Examples of realcix20.guis.views.LoginFrame

            public void run() {                       
                if (GlobalValueManager.getValue("firsttime").equals("TRUE")) {                   
                    new LicenseView();
                } else {
                    Resources.LANGUAGE = GlobalValueManager.getApplicationLang();
                    new LoginFrame();
                }
            }
        });      
    }   
View Full Code Here

Examples of realcix20.guis.views.LoginFrame

    private void logout() {
       
            GlobalValueManager.setValue("APPLICATION.PASSWORD", null);
            container.dispose();
            container = null;
            new LoginFrame();           
       
    }
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.