code: public static <T> T findAncestor( Component start, Class<T> aClass )
    {
      if( start == null )
      {
        return null;
      }
      return findAtOrAbove( start.getParent(), aClass );
    }
docs: Finds the first widget above the passed in widget of the given class