Package net.bnubot.bot.gui

Examples of net.bnubot.bot.gui.ConfigurationFrame


      Out.error("Main", "Invalid argument: " + args[i]);
      System.exit(1);
    }
   
    if((cs.isValid() != null) || forceConfig) {
      ConfigurationFrame cf = null;
      try {
        cf = new ConfigurationFrame(cs);
        cf.setVisible(true);
      } catch(Exception e) {
        e.printStackTrace();
        String s = cs.isValid();
        String error = "There was an error initializing the configuraiton window, ";
        if(s == null)
          error += "but the configuration was valid.";
        else
          error += "and the configuration was invalid: " + s;
        Out.error("Main", error);
        System.exit(1);
      }
     
      while(cf.isVisible()) {
        Thread.yield();
        Thread.sleep(10);
      }
     
      String reason = cs.isValid();
View Full Code Here

TOP

Related Classes of net.bnubot.bot.gui.ConfigurationFrame

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.