public static void setTheme(Properties themesProps) { currentThemeName = "graphiteTheme"; if (myTheme == null) { myTheme = new GraphiteDefaultTheme(); } if ((myTheme != null) && (themesProps != null)) { myTheme.setUpColor(); myTheme.setProperties(themesProps); myTheme.setUpColorArrs(); AbstractLookAndFeel.setTheme(myTheme); } }