public static <T extends JComponent> List<T> getDescendantsOfType(
         Class<T> clazz, Container container) {
    """
	Convenience method for searching below <code>container</code> in the
	component hierarchy and return nested components that are instances of
	class <code>clazz</code> it finds. Returns an empty list if no such
	components exist in the container.
	<P>
	Invoking this method with a class parameter of JComponent.class
	will return all nested components.
	<P>
	This method invokes getDescendantsOfType(clazz, container, true)
	
	@param clazz the class of components whose instances are to be found.
	@param container the container at which to begin the search
	@return the List of components
    """
      return getDescendantsOfType(clazz, container, true);
   }
public static <T extends JComponent> List<T> getDescendantsOfType(
         Class<T> clazz, Container container) {
      return getDescendantsOfType(clazz, container, true);
   }
public static < T extends JComponent > List < T > getDescendantsOfType ( Class < T > clazz , Container container ) { return getDescendantsOfType ( clazz , container , true ) ; }
Convenience method for searching below <code>container</code> in the
component hierarchy and return nested components that are instances of
class <code>clazz</code> it finds. Returns an empty list if no such
components exist in the container.
<P>
Invoking this method with a class parameter of JComponent.class
will return all nested components.
<P>
This method invokes getDescendantsOfType(clazz, container, true)

@param clazz the class of components whose instances are to be found.
@param container the container at which to begin the search
@return the List of components
Convenience method for searching below <code > container< / code > in the component hierarchy and return nested components that are instances of class <code > clazz< / code > it finds . Returns an empty list if no such components exist in the container . <P > Invoking this method with a class parameter of JComponent . class will return all nested components . <P > This method invokes getDescendantsOfType ( clazz container true )