Package com.cburch.logisim.gui.menu

Examples of com.cburch.logisim.gui.menu.LogisimMenuBar


            monitor.setProgress(SplashScreen.GUI_INIT);
        }

        WindowManagers.initialize();
        if (MacCompatibility.isSwingUsingScreenMenuBar()) {
            MacCompatibility.setFramelessJMenuBar(new LogisimMenuBar(null, null));
        } else {
            new LogisimMenuBar(null, null);
            // most of the time occupied here will be in loading menus, which
            // will occur eventually anyway; we might as well do it when the
            // monitor says we are
        }
View Full Code Here


    private JTabbedPane tabbedPane;
    private JButton close = new JButton();

    private PreferencesFrame() {
        setDefaultCloseOperation(HIDE_ON_CLOSE);
        setJMenuBar(new LogisimMenuBar(this, null));

        panels = new OptionsPanel[] {
                new TemplateOptions(this),
                new IntlOptions(this),
                new WindowOptions(this),
View Full Code Here

    private JButton close = new JButton();

    public HexFrame(Project proj, HexModel model) {
        setDefaultCloseOperation(HIDE_ON_CLOSE);

        LogisimMenuBar menubar = new LogisimMenuBar(this, proj);
        setJMenuBar(menubar);

        this.model = model;
        this.editor = new HexEditor(model);
View Full Code Here

        this.project = project;
        this.windowManager = new WindowMenuManager();
        project.addProjectListener(myListener);
        project.addLibraryListener(myListener);
        setDefaultCloseOperation(HIDE_ON_CLOSE);
        setJMenuBar(new LogisimMenuBar(this, project));
        setSimulator(project.getSimulator(), project.getCircuitState());

        panels = new LogPanel[] {
                new SelectionPanel(this),
                new ScrollPanel(this),
View Full Code Here

                return;
            }

        }

        LogisimMenuBar menubar = (LogisimMenuBar) getJMenuBar();
        menubar.setCircuitState(value, state);

        if (curSimulator != null) {
            curSimulator.removeSimulatorListener(myListener);
        }
View Full Code Here

    public OptionsFrame(Project project) {
        this.project = project;
        this.file = project.getLogisimFile();
        file.addLibraryListener(myListener);
        setDefaultCloseOperation(HIDE_ON_CLOSE);
        setJMenuBar(new LogisimMenuBar(this, project));

        panels = new OptionsPanel[] {
                new SimulateOptions(this),
                new ToolbarOptions(this),
                new MouseOptions(this),
View Full Code Here

TOP

Related Classes of com.cburch.logisim.gui.menu.LogisimMenuBar

Copyright © 2018 www.massapicom. 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.