repaint();
  public void remove (int index)  {    Component c = getComponent (index);    int layer = getLayer (c);    decrLayer (new Integer(layer));    componentToLayer.remove (c);    super.remove (index);    revalidate();    repaint();  }