Support Darcula on Solaris and other exotic OSes

This commit is contained in:
Konstantin Bulenkov
2016-07-16 22:33:06 +02:00
parent 55ab515ce3
commit e4b9663bc1
@@ -69,11 +69,11 @@ public class DarculaLaf extends BasicLookAndFeel {
protected BasicLookAndFeel createBaseLookAndFeel() {
try {
if (SystemInfo.isWindows || SystemInfo.isLinux) {
return new IdeaLaf();
} else {
if (SystemInfo.isMac) {
final String name = UIManager.getSystemLookAndFeelClassName();
return (BasicLookAndFeel)Class.forName(name).newInstance();
} else {
return new IdeaLaf();
}
}
catch (Exception e) {