public int getComponentIndex (Component c)

Returns the index of the specified component.

Parameters:
c    the Component to find

Returns:  an integer giving the component's position, where 0 is first; or -1 if it can't be found