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