jf.setJMenuBar(PatchEdit.createMenuBar());
jf.setJMenuBar(Actions.createMenuBar());
	public void registerFrame(JSLFrame f) {	    if (windows.contains(f))		return;	    if (f.getProxy() instanceof JFrame) {		f.addJSLFrameListener(this);		JFrame jf = (JFrame)f.getProxy();		Iterator it = windowMenus.iterator();		while (it.hasNext()) {		    ((JSLWindowMenu)it.next()).add(jf);		}		windows.add(f);		jf.setJMenuBar(PatchEdit.createMenuBar());	    }	}