code: public ExampleData getClosestMatch(final String className) {
  		// First try a fully qualified match to an example contained in the menu.
  		ExampleData result = getMatch(menu, className, false);
  
  		if (result == null) {
  			// Try a fully qualified name that may not be in the list of examples.
  			try {
  				Class clazz = Class.forName(className);
  
  				if (WComponent.class.isAssignableFrom(clazz)) {
  					ExampleData data = new ExampleData(clazz.getSimpleName(), clazz);
  
  					return data;
  				}
  			} catch (ClassNotFoundException | NoClassDefFoundError ignored) {
  				// Just keep searching.
  			}
  		}
  
  		if (result == null) {
  			// Ok, definitely not a fully qualified class name, try a partial match.
  			result = getMatch(menu, className, true);
  		}
  
  		return result;
  	}
docs: Retrieves the closest known match to a WComponent (or example) which this MenuPanel knows about. A fully
  qualified class name or partial name may be provided. A fully qualified match is returned in preference to a
  partial one. Partial name matching is case-insensitive, for example "prog" will match "WProgressBarExample".
  
  @param className the component class name to search for.
  @return the class for the given name, or null if not found.