Examples of MainFrame


Examples of mallemuck.view.MainFrame

        /**
         * Entry point of the program.
         * @param arguments the command line arguments.
         */
        public static void main(String[] arguments) {
                final MainFrame mainFrame = new MainFrame();
                SwingUtilities.invokeLater(new Runnable() {
                        public void run() {
                                mainFrame.setVisible(true);
                        }
                });
        }
View Full Code Here

Examples of meganetpo.MainFrame

    MainFrame main = null;
    PictureHandler pictureHandler;
    private String error;

    public void run() {
  main = new MainFrame();
  main.setVisible(true);
  main.setPicH(pictureHandler);
  main.setError(error);
    }
View Full Code Here

Examples of mpmetr.ui.MainFrame

import mpmetr.ui.MainFrame;

class Metronome {
    public static void main(String[] args) {
        MainFrame frame = new MainFrame();
        frame.launch();
    }
View Full Code Here

Examples of net.datacrow.console.MainFrame

                FilePatterns.load();
               
                ComponentFactory.setLookAndFeel();
               
                if (!webserverMode) {
                    mainFrame = new MainFrame();
                   
                    SwingUtilities.invokeAndWait(new Runnable() {
                        @Override
                        public void run() {
   
View Full Code Here

Examples of net.sourceforge.barcodegen.views.MainFrame

     * Create the GUI and show it.  For thread safety,
     * this method should be invoked from the
     * event-dispatching thread.
     */
    private static void createAndShowGUI() {
      Main.frame =  new MainFrame();
      Main.frame.setSize(800, 600);
      Main.frame.setExtendedState(JFrame.MAXIMIZED_BOTH);
      Main.frame.setLocationRelativeTo(frame.getParent());
      Main.frame.setIconImage(new ImageIcon(Main.imgPath("stock_id.png")).getImage());
      Main.frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
View Full Code Here

Examples of net.sourceforge.squirrel_sql.client.gui.mainframe.MainFrame

    return _sqlHistory;
  }

  public synchronized void addToMenu(int menuId, JMenu menu)
  {
    final MainFrame mf = getMainFrame();
    if (mf != null)
    {
      mf.addToMenu(menuId, menu);
    }
    else
    {
      throw new IllegalStateException(s_stringMgr.getString("Application.error.menuadding"));
    }
View Full Code Here

Examples of net.sourceforge.squirrel_sql.client.gui.mainframe.MainFrame

    }
  }

  public synchronized void addToMenu(int menuId, Action action)
  {
    final MainFrame mf = getMainFrame();
    if (mf != null)
    {
      mf.addToMenu(menuId, action);
    }
    else
    {
      throw new IllegalStateException(s_stringMgr.getString("Application.error.menuadding"));
    }
View Full Code Here

Examples of net.sourceforge.squirrel_sql.client.gui.mainframe.MainFrame

   * @param comp
   *           Component to add.
   */
  public void addToStatusBar(JComponent comp)
  {
    final MainFrame mf = getMainFrame();
    if (mf != null)
    {
      mf.addToStatusBar(comp);
    }
    else
    {
      throw new IllegalStateException(s_stringMgr.getString("Application.error.compadding"));
    }
View Full Code Here

Examples of net.sourceforge.squirrel_sql.client.gui.mainframe.MainFrame

   * @param comp
   *           Component to remove.
   */
  public void removeFromStatusBar(JComponent comp)
  {
    final MainFrame mf = getMainFrame();
    if (mf != null)
    {
      mf.removeFromStatusBar(comp);
    }
    else
    {
      throw new IllegalStateException(s_stringMgr.getString("Application.error.compremoving"));
    }
View Full Code Here

Examples of net.sourceforge.squirrel_sql.client.gui.mainframe.MainFrame

       boolean result = false;
      JFileChooser chooser = getFileChooser();
      chooser.setAccessory(new ChooserPreviewer());

      SquirrelPreferences prefs = _sqlPanelAPI.getSession().getApplication().getSquirrelPreferences();
      MainFrame frame = _sqlPanelAPI.getSession().getApplication().getMainFrame();


      if (prefs.isFileOpenInPreviousDir())
      {
         String fileName = prefs.getFilePreviousDir();
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.