Examples of MainWindow


Examples of net.sf.mzmine.desktop.impl.MainWindow

    if (!(MZmineCore.getDesktop() instanceof MainWindow))
      return;

    Runnable swingThreadCode = new Runnable() {
      public void run() {
        MainWindow mainWindow = (MainWindow) MZmineCore.getDesktop();

        // Update the name of the project in the window title
        mainWindow.updateTitle();

        ProjectTree projectTree = mainWindow.getMainPanel()
            .getProjectTree();
        projectTree.setModel(treeModel);

        // Expand the rows Raw data files and Peak lists items by
        // default
View Full Code Here

Examples of net.sf.rej.gui.MainWindow

  public void undo() {
    EditorFacade.getInstance().performUndo();
  }

  public void insert() {
    MainWindow main = MainWindow.getInstance();
    Point pt = main.getMousePosition(true);

    int x = (int) pt.getX();
    int y = (int) pt.getY();
    EditorTab.this.insertContextMenu.show(MainWindow.getInstance(), x, y);
  }
View Full Code Here

Examples of net.sourceforge.ztail.ui.windows.MainWindow

  private MainWindow mainWindow;
  private MenuBar menu;

  private BaseManager() {
    display = new Display();
    mainWindow = new MainWindow(display);
    mainWindow.setOnClosed(new UXDefaultAction() {
      @Override
      public void doAction() {
        BaseController.instance().closeApplicationReq();
      }
View Full Code Here

Examples of net.xeoh.plugins.diagnosisreader.ui.MainWindow

        pluginManager.addPluginsFrom(ClassURI.PLUGIN(PlainConverterImpl.class));
        pluginManager.addPluginsFrom(ClassURI.PLUGIN(CSVConverterImpl.class));
        pluginManager.addPluginsFrom(ClassURI.PLUGIN(XMLConverterImpl.class));
        pluginManager.addPluginsFrom(new File("plugins/").toURI());

        final MainWindow mainWindow = new MainWindow(pluginManager);
        mainWindow.setVisible(true);

        final Collection<Converter> converters = pluginManagerUtil.getPlugins(Converter.class);

        for (Converter converter : converters) {
            mainWindow.registerHandler(converter);
        }
    }
View Full Code Here

Examples of nl.nuggit.words.gui.MainWindow

import nl.nuggit.words.gui.MainWindow;

public class Scrabble {
  public static void main(String[] args) {
    MainWindow mainWindow = new MainWindow();
  }
View Full Code Here

Examples of org.anks.sudoku.ui.MainWindow

  /**
   * @param args
   */
  public static void main(String[] args)
  {
    JFrame window = new MainWindow();
    window.pack();

    window.setResizable(false);
    window.setLocation(100, 100);
    window.setVisible(true);
  }
View Full Code Here

Examples of org.apache.oodt.cas.filemgr.browser.view.MainWindow

  private static MainWindow window;

  public static void main(String args[]) {
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
      public void run() {
        window = new MainWindow();
        window.pack();
        window.setVisible(true);
      }
    });
  }
View Full Code Here

Examples of org.earth3d.jearth.main.MainWindow

  /**
   * Listens for new extensions to add a SwitchMapButton to every new MainWindow.
   */
  public void extensionAdded(Extension extension) {
    if (extension instanceof MainWindow) {
      MainWindow mainWindow = (MainWindow) extension;

      SwitchMapButton swb = new SwitchMapButton(mainWindow);
      swb.setConfiguration(getConfiguration());
    }
  }
View Full Code Here

Examples of org.earth3d.jearth.main.MainWindow

  /**
   * Listens for new extensions to add itself to every new MainWindow.
   */
  public void extensionAdded(Extension extension) {
    if (extension instanceof MainWindow) {
      MainWindow mainWindow = (MainWindow) extension;

      JButton button = new JButton("Next satellite map");
      mainWindow.getContentPane().add(button, BorderLayout.NORTH);
      button.addActionListener(this);
    }
  }
View Full Code Here

Examples of org.earth3d.jearth.main.MainWindow

  /**
   * Listens for new extensions to add a SwitchMapButton to every new MainWindow.
   */
  public void extensionAdded(Extension extension) {
    if (extension instanceof MainWindow) {
      MainWindow mainWindow = (MainWindow) extension;

      TreeViewServices tvs = new TreeViewServices(mainWindow);
      tvs.setConfiguration(getConfiguration());
    }
  }
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.