public void setLayer(Component c, int layer, int position)
public void setLayer(Component c, int layer)
  public void setLayer(Component c, int layer, int position)  {    Integer layerObj = getObjectForLayer(layer);    if (c instanceof JComponent)      {        JComponent jc = (JComponent) c;        jc.putClientProperty(LAYER_PROPERTY, layerObj);      }    else      componentToLayer.put (c, layerObj);    // Set position only of component is already added to this layered pane.    if (getIndexOf(c) != -1)    setPosition(c, position);  }