final Class lfClass = Class.forName(lfClassName); final Class themeClass = Class.forName(themeClassName);
final Class<?> lfClass = Class.forName(lfClassName); final Class<?> themeClass = Class.forName(themeClassName);
    public void onInit(Application application) {        if (log.isInfoEnabled()) {            log.info("Configuring application '" + application.getId()                    + "' with look and feel '" + lfClassName + "' and theme '"                    + themeClassName + "'");        }        try {            final Class lfClass = Class.forName(lfClassName);            final Class themeClass = Class.forName(themeClassName);            final LookAndFeel lookAndFeel = (LookAndFeel) lfClass.newInstance();            final Object theme = themeClass.newInstance();            LookUtils.setLookAndTheme(lookAndFeel, theme);        } catch (Exception e) {            log.warn("Error while setting JGoodies Look and Feel", e);        }    }