public int getPosition (Component c)

Get the relative position of the component within its layer.

Parameters:
c    the Component to check

Returns:  an int giving the component's position, where 0 is the topmost position and the highest index value = the count count of components at that layer, minus 1

See also:
getComponentCountInLayer