Examples of WindowMenu


Examples of be.xtnd.commons.WindowMenu

    Container contentPane = this.getContentPane();
    contentPane.setLayout(new BorderLayout());
   
    int menuPosition = 0;
    if(rootMenuBar.getComponentCount()!=0) menuPosition = rootMenuBar.getComponentCount()-1;
    rootMenuBar.add(new WindowMenu(desktop),menuPosition);
    this.setJMenuBar(rootMenuBar);
      this.setIconImage(MainGui.icon);

    if(toolBar!=null)
      contentPane.add(toolBar, BorderLayout.NORTH);
View Full Code Here

Examples of com.cburch.logisim.util.WindowMenu

   
    add(file = new MenuFile(this));
    add(edit = new MenuEdit(this));
    add(project = new MenuProject(this));
    add(simulate = new MenuSimulate(this));
    add(new WindowMenu(parent));
    add(help = new MenuHelp(this));
   
    LocaleManager.addLocaleListener(listener);
    listener.localeChanged();
  }
View Full Code Here

Examples of com.cburch.logisim.util.WindowMenu

        add(file = new MenuFile(this));
        add(edit = new MenuEdit(this));
        add(project = new MenuProject(this));
        add(simulate = new MenuSimulate(this));
        add(new WindowMenu(parent));
        add(help = new MenuHelp(this));

        LocaleManager.addLocaleListener(listener);
        listener.localeChanged();
    }
View Full Code Here

Examples of org.compiere.apps.WindowMenu

    mTools.addSeparator();
    AEnv.addMenuItem("Preference", null, null, mTools, this);
   
    //    Window
    AMenu aMenu = (AMenu)Env.getWindow(0);
    JMenu mWindow = new WindowMenu(aMenu.getWindowManager(), this);
    menuBar.add(mWindow);

    //      Help
    JMenu mHelp = AEnv.getMenu("Help");
    menuBar.add(mHelp);
View Full Code Here

Examples of org.fcrepo.swing.mdi.WindowMenu

        toolsConsole.add(toolsManagement);
        toolsMenu.add(toolsConsole);

        menuBar.add(toolsMenu);

        WindowMenu windowMenu = new WindowMenu(s_desktop, "Window");
        windowMenu.setMnemonic(KeyEvent.VK_W);
        menuBar.add(windowMenu);

        // [H]elp
        JMenu helpMenu = new JMenu("Help");
        helpMenu.setMnemonic(KeyEvent.VK_H);
View Full Code Here

Examples of org.netfpga.mdi.WindowMenu

     */
    public AbstractMainFrame() {

        initComponents();

        menuBar.add(new WindowMenu((MDIDesktopPane) desktopPane));

        /* Add scrolling for the Frames */
        scrollPane.getViewport().add(desktopPane);
        getContentPane().setLayout(new BorderLayout());
        getContentPane().add(scrollPane,BorderLayout.CENTER);
View Full Code Here

Examples of shag.menu.WindowMenu

        mi.setActionCommand(USEFUL_TABLE);
        mi.addActionListener(this);
        m.add(mi);

        mb.add(m);
        mb.add(new WindowMenu(this));
        return mb;
    }
View Full Code Here

Examples of shag.menu.WindowMenu

    }
   
    private JFrame createFrame(String name) {
        JFrame result = new JFrame(name);
        JMenuBar mb = new JMenuBar();
        mb.add(new WindowMenu(this));
        result.setJMenuBar(mb);
        JPanel content = new JPanel(new BorderLayout());
        content.add(new JLabel("This is " + name + ".", JLabel.CENTER), BorderLayout.CENTER);
        result.setContentPane(content);
        result.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
View Full Code Here

Examples of shag.menu.WindowMenu

        JMenu m = new JMenu("File");
        JMenuItem mi = new JMenuItem("New");
        mi.addActionListener(this);
        m.add(mi);
        mb.add(m);
        mb.add(new WindowMenu(this));
        result.setJMenuBar(mb);

        // Finish off the window.
        result.setContentPane(p);
        result.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
View Full Code Here

Examples of shag.menu.WindowMenu

        mi.setActionCommand(DemoType.rollYourOwn.name());
        mi.addActionListener(this);
        m.add(mi);

        mb.add(m);
        mb.add(new WindowMenu(this));
        return mb;
    }
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.