public static void setLookAndFeel(String className) throws ClassNotFoundException, InstantiationException, IllegalAccessException, UnsupportedLookAndFeelException
public static void setLookAndFeel(LookAndFeel newLookAndFeel) throws UnsupportedLookAndFeelException
  public static void setLookAndFeel(String className)    throws ClassNotFoundException, InstantiationException, IllegalAccessException,    UnsupportedLookAndFeelException  {    Class c = Class.forName(className);    LookAndFeel a = (LookAndFeel) c.newInstance(); // throws class-cast-exception    setLookAndFeel(a);  }