Package civquest.swing.startup

Examples of civquest.swing.startup.StartUpComponent


  public AbortToMainWindowAction(CivQuest civQuest) {
    this.civQuest = civQuest;
  }

  public void actionPerformed(FunctionActionEvent e) {
    civQuest.setMainComponent(new StartUpComponent(civQuest));
    civQuest.setJMenuBar(null);
    civQuest.getGlobalFunctionComponent().switchedToMainComponent();
    civQuest.validate();
    Game.destroyGame();
    GameChangeManager.getGameChangeManager().clearListeners();
View Full Code Here


  }

    private void initGUI() throws RulesetException {
        setDefaultCloseOperation(EXIT_ON_CLOSE);
   
     StartUpComponent startUpComponent = new StartUpComponent(this);
     setMainComponent(startUpComponent);
    globalFunctionComponent.switchedToMainComponent();

    setSize(640, 480);
    setVisible(true);   
View Full Code Here

TOP

Related Classes of civquest.swing.startup.StartUpComponent

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.