1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-13 12:55:00 -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
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);