mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
crash on startup
This commit is contained in:
@@ -328,6 +328,10 @@ public final class LafManagerImpl extends LafManager implements ApplicationCompo
|
||||
}
|
||||
UIManager.LookAndFeelInfo laf = findLaf(defaultLafName);
|
||||
if (laf != null) return laf;
|
||||
UIManager.LookAndFeelInfo ideaLaf = findLaf(isIntelliJLafEnabled() ? IntelliJLaf.class.getName() : IdeaLookAndFeelInfo.CLASS_NAME);
|
||||
if (ideaLaf != null) {
|
||||
return ideaLaf;
|
||||
}
|
||||
throw new IllegalStateException("No default L&F found");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user