public synchronized void setMenuBar(MenuBar menuBar) { this.menuBar = menuBar; if (peer != null) ((FramePeer) peer).setMenuBar(menuBar); }
setMenuBar(MenuBar menuBar) { if (peer != null) { if (this.menuBar != null) this.menuBar.removeNotify(); if (menuBar != null) menuBar.addNotify(); ((FramePeer) peer).setMenuBar(menuBar); } this.menuBar = menuBar; }
	public synchronized void setMenuBar(MenuBar menuBar) {		this.menuBar = menuBar;		if (peer != null)			 ((FramePeer) peer).setMenuBar(menuBar);	}