ui/src/main/java/ucar/nc2/ui/util/SwingUtils.java
public static UIDefaults getUIDefaultsOfClass(Class clazz) {
      String name = clazz.getName();
      name = name.substring(name.lastIndexOf(".") + 2);
      return getUIDefaultsOfClass(name);
   }
public static UIDefaults getUIDefaultsOfClass(Class clazz) {
      String name = clazz.getName();
      name = name.substring(name.lastIndexOf(".") + 2);
      return getUIDefaultsOfClass(name);
   }
public static UIDefaults getUIDefaultsOfClass ( Class clazz ) { String name = clazz . getName ( ) ; name = name . substring ( name . lastIndexOf ( "." ) + 2 ) ; return getUIDefaultsOfClass ( name ) ; }
Convenience method for retrieving a subset of the UIDefaults pertaining
to a particular class.

@param clazz the class of interest
@return the UIDefaults of the class
Convenience method for retrieving a subset of the UIDefaults pertaining to a particular class .