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