public void moveToFront (Component c)

Moves the component to the top of the components in its current layer (position 0).

Parameters:
c    the Component to move

See also:
setPosition(Component, int)