setJMenuBar(PatchEdit.createMenuBar());
setJMenuBar(Actions.createMenuBar());
	public void setVisible(boolean b) {	    if (MacUtils.isMac()) {		if (b && getJMenuBar() == null) {		    setJMenuBar(PatchEdit.createMenuBar());		} else if (!b) {		    // Remove menubar so frame can be disposed.		    // http://archives:archives@lists.apple.com/archives/java-dev/2003/Dec/04/disposingofjframesusescr.001.txt		    JMenuBar mb = getJMenuBar();		    setJMenuBar(null);		    		    JSLDesktop.getInvisible().getJFrame().requestFocus();		    requestFocus();		}	    }	    super.setVisible(b);	}