Maybe fix NPE on Linux

This commit is contained in:
Reinhard Pointner 2019-06-01 17:53:22 +07:00
parent 5d5aaf83dc
commit d87a0ae7e1
1 changed files with 4 additions and 0 deletions

View File

@ -143,6 +143,10 @@ public class ThemeSupport {
@Override
public void setLookAndFeel() throws Exception {
// Maybe fix NPE on Linux
// @see https://github.com/bulenkov/iconloader/issues/14
UIManager.getFont("Label.font");
UIManager.setLookAndFeel(new DarculaLaf());
Color selectionBackground = new Color(0x39698a);