public void applyPlasticTheme() {
if (getLookAndFeel().startsWith("com.jgoodies.plaf.plastic")) {
List themeList = PlasticLookAndFeel.getInstalledThemes();
String name = getPlasticTheme();
for (Iterator it = themeList.iterator(); it.hasNext();) {
PlasticTheme theme = (PlasticTheme) it.next();
if (theme.getName().equalsIgnoreCase(name)) {
PlasticLookAndFeel.setMyCurrentTheme(theme);
}
}
}
}