code: public static Component findParent(final Component childComponent,
  		final Class<? extends Component> parentClass)
  	{
  		return findParent(childComponent, parentClass, true);
  	}
docs: Finds the first parent of the given childComponent from the given parentClass.
  
  @param childComponent
  the child component
  @param parentClass
  the parent class
  @return the component