setPosition(c, position); revalidate(); repaint();
  public void setLayer(Component c,                       int layer,                       int position)  {    componentToLayer.put (c, getObjectForLayer (layer));    setPosition(c, position);    revalidate();    repaint();  }