Package net.bnubot.bot.gui.settings

Examples of net.bnubot.bot.gui.settings.ConfigurationFrame


        }

        // Check if CS is valid
        while(cs.isValid() != null) {
          if(PluginManager.getEnableGui()) {
            new ConfigurationFrame(cs);
          } else {
            // TODO: handle this somehow
            throw new RuntimeException("Invalid configuration in bot #" + cs.botNum + " " + cs.isValid());
          }
        }
View Full Code Here


    JMenuItem settings = new JMenuItem("Settings");
    settings.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent event) {
        try {
          new ConfigurationFrame(source.getConnectionSettings());
        } catch(OperationCancelledException e) {}
      }});
    settingsMenuItems.put(source, settings);

    for(int i = 0; i < menuBar.getMenuComponentCount(); i++) {
View Full Code Here

TOP

Related Classes of net.bnubot.bot.gui.settings.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.