public int getComponentIndex (Component c)

Returns the index of the specified component. (Note: Separators occupy index positions.)

Parameters:
c    the Component to find

Returns:  an integer indicating the component's position, where 0 is first