selected.setJMenuBar(PatchEdit.createMenuBar());
selected.setJMenuBar(Actions.createMenuBar());
	public void setupInitialMenuBar(JToolBar tb) {	    if (invisible != null) {		selected = invisible.getJFrame();		selected.setJMenuBar(PatchEdit.createMenuBar());		selected.setSize(0,0);		selected.setUndecorated(true);		//selected.setLocation(0,0x7FFFFFFF);		selected.pack();		selected.setVisible(true);		//selected.addWindowListener(this);	    }	    registerFrame(toolbar);	    //toolbar.addJSLFrameListener(this);	    toolbar.setJMenuBar(PatchEdit.createMenuBar());	    tb.setFloatable(false);	    toolbar.getContentPane().add(tb);	    toolbar.pack();	    JFrame f = toolbar.getJFrame();	    Dimension gs = f.getGlassPane().getSize();	    Dimension ts = f.getSize();	    xdecoration = (int)(ts.getWidth() - gs.getWidth());	    ydecoration = (int)(ts.getHeight() - gs.getHeight());	    toolbar.setLocation(xdecoration/2, ydecoration);	    toolbar.setVisible(true);	    JSLFrame.resetFrameCount();	}