Examples of MainWindow


Examples of jade.tools.introspector.gui.MainWindow

   Adds an agent to the debugged agents map, and asks the AMS to
   start debugging mode on that agent.
   */
  public boolean addAgent(AID name) {
    if(!windowMap.containsKey(name)) {
      MainWindow m = new MainWindow(guiSensor, name);
      myGUI.addWindow(m);
      windowMap.put(name, m);
     
      // Enable the following instruction if you want STEP_BY_STEP to
      // be the default debug mode
View Full Code Here

Examples of jadx.gui.ui.MainWindow

      }
      UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
      SwingUtilities.invokeLater(new Runnable() {
        public void run() {
          JadxWrapper wrapper = new JadxWrapper(jadxArgs);
          MainWindow window = new MainWindow(wrapper);
          window.pack();
          window.setLocationAndPosition();
          window.setVisible(true);
          window.setLocationRelativeTo(null);
          window.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);

          if (jadxArgs.getInput().isEmpty()) {
            window.openFile();
          } else {
            window.openFile(jadxArgs.getInput().get(0));
          }
        }
      });
    } catch (Throwable e) {
      LOG.error("Error: " + e.getMessage());
View Full Code Here

Examples of jmt.gui.jmodel.mainGui.MainWindow

        close();
      }
    });
    simAppl.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        new MainWindow();
        close();
      }
    });
    introIta.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
View Full Code Here

Examples of miage.jtreeindex.MainWindow

      String workDir = PreferencesManager.get("tageditor.tageditorframe.workingdir");
      if (workDir != null) {
        File file = new File(workDir);
        int i = file.getAbsolutePath().indexOf(File.separatorChar);
        String root = file.getAbsolutePath().substring(0, i+1);
        jTabbedPaneExplo_Index.addTab(LangageManager.getProperty("miage.index"), null, new MainWindow(root, frameTagEditor()), null);
      }
      else {
        jTabbedPaneExplo_Index.addTab(LangageManager.getProperty("miage.index"), null, new MainWindow(), null);
      }

     
      jTabbedPaneExplo_Index.addChangeListener(new javax.swing.event.ChangeListener() {
        public void stateChanged(javax.swing.event.ChangeEvent e) {
View Full Code Here

Examples of miage.jtreeindex.MainWindow

  }
 
  private void changeJTree(File selectedRoot, int tabbed){
    if(jTabbedPaneExplo_Index.getTabCount()>=2);
      jTabbedPaneExplo_Index.remove(1);
    jTabbedPaneExplo_Index.addTab(LangageManager.getProperty("miage.index"), null, new MainWindow(selectedRoot), null);
    jTabbedPaneExplo_Index.setSelectedIndex(tabbed);
  }
View Full Code Here

Examples of moneymanager.gui.MainWindow

     
      e.printStackTrace();
     
    }
   
    MainWindow mainInterface = new MainWindow();
    mainInterface.setVisible(true);
  }
View Full Code Here

Examples of net.azib.ipscan.gui.MainWindow

      LOG.finer("ComponentRegistry initialized after " + (System.currentTimeMillis() - startTime));

      processCommandLine(args, componentRegistry);

      // create the main window using dependency injection
      MainWindow mainWindow = componentRegistry.getMainWindow();
      LOG.fine("Startup time: " + (System.currentTimeMillis() - startTime));

      while (!mainWindow.isDisposed()) {
        try {
          if (!display.readAndDispatch())
            display.sleep();
        }
        catch (Throwable e) {
          if (e instanceof SWTException && e.getCause() != null)
            e = e.getCause();

          // display a nice error message
          String localizedMessage = getLocalizedMessage(e);
          Shell parent = display.getActiveShell();
          showMessage(parent != null ? parent : mainWindow.getShell(),
              e instanceof UserErrorException ? SWT.ICON_WARNING : SWT.ICON_ERROR,
              Labels.getLabel(e instanceof UserErrorException ? "text.userError" : "text.error"), localizedMessage);
        }
      }
View Full Code Here

Examples of net.cakenet.jsaton.ui.MainWindow

        try {
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        } catch (Exception e) {
            e.printStackTrace();
        }
        JFrame jf = new MainWindow();
        jf.setPreferredSize(new Dimension(800, 600));
        jf.pack();
        jf.setVisible(true);
    }
View Full Code Here

Examples of net.sf.arianne.marboard.client.gui.MainWindow

      } else {
        logger.error(account);
      }
    }

    MainWindow mainWindow = new MainWindow(client, board);
    mainWindow.createWindow();
    logger.info("Starting client loop");

    mainWindow.loop();
    System.exit(0);
  }
View Full Code Here

Examples of net.sf.mrailsim.gui.MainWindow

      Thread.sleep( 10 );
    } catch (InterruptedException e) { }
  }
 
  public void startGame() {
    mainWindow = new MainWindow( this );
    mainWindow.setVisible( true );
   
    mapWindow = new MapWindow();
    mapWindow.setSize( 850, 650 );
    mapWindow.setLocation( 400, 100 );
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.