java.util.Enumeration e = items.elements(); while (e.hasMoreElements()) { MenuItem mi = (MenuItem)e.nextElement(); mi.addNotify(); }
addNotify(){  if (peer != null)    peer = getToolkit().createMenu(this);  super.addNotify ();}