public void setLayer (Component c, int layer)

Sets the layer attribute on the specified component, making it the bottommost component in that layer. Should be called before adding to parent.

Parameters:
c    the Component to set the layer for
layer    an int specifying the layer to set, where lower numbers are closer to the bottom