public int getComponentIndex (Component c)

Returns the index of the specified component.

Parameters:
c    the Component to find

Returns:  the index of the component, where 0 is the first; or -1 if the component is not found