public void applyConfiguration(Configuration configuration) { String lookAndFeel = configuration.getSelectedLookAndFeel(); if (lookAndFeel == null) { lookAndFeel = UIManager.getSystemLookAndFeelClassName(); } setLookAndFeel(configuration.getSelectedLookAndFeel()); PreferenceManager.store(configuration); }