Examples of MainPanel


Examples of com.gui.MainPanel

    Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
    win.setPreferredSize(d);
    win.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    MainPanel.SCR_HEIGHT = d.height;
    MainPanel.SCR_WIDTH  = d.width;
    MainPanel dp = new MainPanel(win)
    win.addKeyListener(dp.mainMenu);
    win.addMouseListener(dp);
    win.add(dp);
    win.pack();   
View Full Code Here

Examples of com.jcloisterzone.ui.grid.MainPanel

        removeAll();
        setBackgroundImage(null);

        createGamePanel = null;
        connectedClients = null;
        mainPanel = new MainPanel(client, game, chatPanel);
        add(mainPanel, BorderLayout.CENTER);
        client.getReportingTool().setContainer(getMainPanel());
        mainPanel.started(ev.getSnapshot());
    }
View Full Code Here

Examples of com.qspin.qtaste.ui.MainPanel

            //Le chemin des librairies python           
           
            props.setProperty("python.home", StaticConfiguration.JYTHON_HOME);
            props.setProperty("python.path", StaticConfiguration.JYTHON_LIB + File.pathSeparator + StaticConfiguration.TEST_SCRIPT_DOC_TOOLS_DIR);
            PythonInterpreter.initialize(System.getProperties(), props, new String[]{""});
            mMainPanel = new MainPanel(testSuiteDir, numberLoops, loopsInHours);
            mMainPanel.launch();
            mAddOnManager = new AddOnManager();
            mAddOnManager.loadAddOns();

        } catch (Exception e) {
View Full Code Here

Examples of com.tll.client.ui.MainPanel

    }
  }

  private void buildMainPanel() {
    if(mainPanel == null) {
      mainPanel = new MainPanel();
      acc.addAdminContextListener(this);
      acc.addAdminContextListener(mainPanel);
      mainPanel.addUserSessionListener(acc);
      RootPanel.get().add(mainPanel);
    }
View Full Code Here

Examples of eu.admire.workbench.dotvisualiser.panels.MainPanel

    } catch (Exception e){
      e.printStackTrace();
    }
    Composite composite = new Composite(parent, SWT.EMBEDDED | SWT.NO_BACKGROUND);
    Frame f =org.eclipse.swt.awt.SWT_AWT.new_Frame(composite);
    p = new MainPanel(ScrollPane.SCROLLBARS_ALWAYS);
    f.add(p);
  }
View Full Code Here

Examples of lmnd.MainPanel

                this.setLookandFeel();
                this.setTitle(Main.TITLE);
                this.setLogo();
                this.setExtendedState(JFrame.MAXIMIZED_BOTH);
                this.setLayout(new BorderLayout());
                this.add(new MainPanel(), BorderLayout.CENTER);
                this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        }
View Full Code Here

Examples of net.sourceforge.marathon.mpf.MainPanel

import net.sourceforge.marathon.mpf.NamingStrategyPanel;
import net.sourceforge.marathon.util.ArgumentProcessor;

public class RuntimeLauncherModel implements IRuntimeLauncherModel {
    public ISubPropertiesPanel[] getSubPanels(JDialog parent) {
        return new ISubPropertiesPanel[] { new MainPanel(parent), new ClassPathPanel(parent), new NamingStrategyPanel(parent) };
    }
View Full Code Here

Examples of org.broad.igv.ui.panel.MainPanel

        JMenuItem panelWidthmenuItem = new JMenuItem();
        menuAction = new MenuAction("Set Name Panel Width...", null, KeyEvent.VK_A) {
            @Override
            public void actionPerformed(ActionEvent e) {
                MainPanel mainPanel = IGV.getInstance().getMainPanel();
                String currentValue = String.valueOf(mainPanel.getNamePanelWidth());
                String newValue = MessageUtils.showInputDialog("Enter track name panel width: ", currentValue);
                if (newValue != null) {
                    try {
                        Integer w = Integer.parseInt(newValue);
                        if (w <= 0 || w == 1000) throw new NumberFormatException();
                        PreferenceManager.getInstance().put(PreferenceManager.NAME_PANEL_WIDTH, newValue);
                        mainPanel.setNamePanelWidth(w);
                    } catch (NumberFormatException ex) {
                        MessageUtils.showErrorMessage("Error: value must be a positive integer < 1000.", ex);
                    }
                }
            }
View Full Code Here

Examples of org.broad.igv.ui.panel.MainPanel

        igvCommandBar.setBorder(new BasicBorders.MenuBarBorder(Color.GRAY, Color.GRAY));
        igvCommandBar.setAlignmentX(Component.BOTTOM_ALIGNMENT);
        commandBarPanel.add(igvCommandBar);


        mainPanel = new MainPanel(igv);
        add(mainPanel, BorderLayout.CENTER);

        statusBar = new ApplicationStatusBar();
        statusBar.setDebugGraphicsOptions(javax.swing.DebugGraphics.NONE_OPTION);
        add(statusBar, BorderLayout.SOUTH);
View Full Code Here

Examples of org.buildndeploy.client.ui.panel.MainPanel

        new ChatController(mainPanel.chatPanel);
      }
    });
   
    // Initilize UI
    mainPanel = new MainPanel();
    mainPanel.addAttachHandler(new Handler() {
     
      @Override
      public void onAttachOrDetach(AttachEvent event) {
        if (event.isAttached())
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.