Examples of MainWindow


Examples of org.earth3d.jearth.main.MainWindow

  public void init() {
    // get the main window
    List<Extension> mainWindowsList= getExtensionManager().getExtensions("MainWindow");
    for(Extension extension : mainWindowsList) {
      if (extension instanceof MainWindow) {
        MainWindow mw = (MainWindow) extension;

        // create new marker drawer
        MarkerDraw md = new MarkerDraw(mw.getMain3DWidget());
       
        // add the marker drawer
        mw.getMain3DWidget().getDrawableManager().add(md);
       
        // add the toolbar button
        JButton toolbarbutton = new JButton("Add Marker");
        toolbarbutton.addActionListener(md);
       
        mw.getToolBar().add(toolbarbutton);
      }
    }
  }
View Full Code Here

Examples of org.jitterbit.tools.xml.xmlviewer.ui.MainWindow

     *
     * @param args
     */
  public static void main(String[] args) {
    setLookAndFeel();
    MainWindow w = new MainWindow(ExecutionMode.STAND_ALONE);
    for( String s : args ) {
        String sFilename = s.trim();
        if( sFilename.length() > 0 ) {
            w.getFileOpener().openFile( new File(sFilename) );
            }
    }
    w.setVisible(true);
  }
View Full Code Here

Examples of org.jmule.ui.swing.mainwindow.MainWindow

   
    swing_preferences = SwingPreferences.getSingleton();
   
    swing_skin_instance = new DefaultSwingSkinImpl();
   
    main_window = new MainWindow();
   
  }
View Full Code Here

Examples of org.jmule.ui.swt.mainwindow.MainWindow

   
    SWTThread.getInstance().initialize();

    default_skin = new DefaultSWTSkinImpl();
   
    main_window = new MainWindow();
    main_window.getCoreComponents();
  }
View Full Code Here

Examples of org.mati.geotech.gui.MainWindow

        }

        Display display = new Display();
        Shell shell = new Shell(display);
        shell.setLayout(new FillLayout());
        new MainWindow(shell, SWT.NONE);
        shell.open();

        while (!shell.isDisposed()) {
            if (!display.readAndDispatch())
                display.sleep();
View Full Code Here

Examples of org.mati.geotech.gui.MainWindow

    public MapView() {
    }

    @Override
    public void createPartControl(Composite parent) {
        mainWindow= new MainWindow(parent, SWT.NONE);
    }
View Full Code Here

Examples of org.terasology.editor.ui.MainWindow

        LwjglCustomViewPort lwjglCustomViewPort = new LwjglCustomViewPort();
        Collection<EngineSubsystem> subsystemList = Lists.<EngineSubsystem>newArrayList(new LwjglGraphics(), new LwjglTimer(), new LwjglAudio(), new LwjglInput(),
                lwjglCustomViewPort);

        engine = new TerasologyEngine(subsystemList);
        mainWindow = new MainWindow(this);
        lwjglCustomViewPort.setCustomViewport(mainWindow.getViewport());

        try {
            PathManager.getInstance().useDefaultHomePath();
View Full Code Here

Examples of ringdb.ui.MainWindow

   
    s_Logger.log(Level.INFO, "Starting Database");
    Database.getInstance();
       
        s_Logger.log(Level.INFO, "Starting UI");
    new MainWindow().setVisible(true);
  }
View Full Code Here

Examples of swing.MainWindow

    Main win = new Main();

  }
 
  public Main() {
    MainWindow win = new MainWindow("JBoincManager");
    win.setVisible(true);
    win.setSize(200, 200);
  }
View Full Code Here

Examples of tv.porst.swfretools.dissector.gui.MainWindow

      System.out.println("  -dump [file]                            : Dumps the content of the SWF file");
      System.out.println("  -decompress [inputfile] -o [outputfile] : Decompresses the input file");
      return;
    }

    final MainWindow window = new MainWindow(filesToOpen);

    window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    window.setVisible(true);
  }
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.