public void setPosition (Component c, int position)

Moves the component to position within its current layer, where 0 is the topmost position within the layer and -1 is the bottommost position.

Note: Position numbering is defined by java.awt.Container, and is the opposite of layer numbering. Lower position numbers are closer to the top (0 is topmost), and higher position numbers are closer to the bottom.

Parameters:
c    the Component to move
position    an int in the range -1..N-1, where N is the number of components in the component's current layer