frame = null;
  public void removeNotify()  {  Enumeration e = menus.elements();  while (e.hasMoreElements())  {    Menu mi = (Menu) e.nextElement();    mi.removeNotify();  }    frame = null;  super.removeNotify();  }