Container parent = comp.getParent(); next(parent);
  public void removeLayoutComponent (Component comp)  {    Enumeration e = tab.keys ();    while (e.hasMoreElements ())      {	Object key = e.nextElement ();	if (tab.get (key) == comp)	  {	    tab.remove (key);	    break;	  }      }  }