Remove Plastic L&Fs from small IDEs

This commit is contained in:
Roman Shevchenko
2012-09-26 20:25:09 +02:00
parent 77a8c6d545
commit a5ecb6b068
@@ -225,13 +225,18 @@ public class IdeaApplication {
UIManager.put("Panel.opaque", Boolean.TRUE);
}
if (SystemInfo.isWindows) {
UIManager.installLookAndFeel("JGoodies Windows L&F", "com.jgoodies.looks.windows.WindowsLookAndFeel");
}
try {
Class.forName("com.jgoodies.looks.plastic.PlasticLookAndFeel");
UIManager.installLookAndFeel("JGoodies Plastic", "com.jgoodies.looks.plastic.PlasticLookAndFeel");
UIManager.installLookAndFeel("JGoodies Plastic 3D", "com.jgoodies.looks.plastic.Plastic3DLookAndFeel");
UIManager.installLookAndFeel("JGoodies Plastic XP", "com.jgoodies.looks.plastic.PlasticXPLookAndFeel");
if (SystemInfo.isWindows) {
UIManager.installLookAndFeel("JGoodies Windows L&F", "com.jgoodies.looks.windows.WindowsLookAndFeel");
}
UIManager.installLookAndFeel("JGoodies Plastic", "com.jgoodies.looks.plastic.PlasticLookAndFeel");
UIManager.installLookAndFeel("JGoodies Plastic 3D", "com.jgoodies.looks.plastic.Plastic3DLookAndFeel");
UIManager.installLookAndFeel("JGoodies Plastic XP", "com.jgoodies.looks.plastic.PlasticXPLookAndFeel");
}
catch (ClassNotFoundException ignored) { }
}
protected class IdeStarter implements ApplicationStarter {