1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-16 06:15:02 -05:00

Maybe fix NPE on Linux

This commit is contained in:
Reinhard Pointner 2019-06-01 17:53:22 +07:00
parent 5d5aaf83dc
commit d87a0ae7e1

View File

@ -143,6 +143,10 @@ public class ThemeSupport {
@Override @Override
public void setLookAndFeel() throws Exception { 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()); UIManager.setLookAndFeel(new DarculaLaf());
Color selectionBackground = new Color(0x39698a); Color selectionBackground = new Color(0x39698a);