From 44dfb8103998589e9f2954cc985b47b06129353f Mon Sep 17 00:00:00 2001 From: Konstantin Bulenkov Date: Tue, 4 Mar 2014 12:52:51 +0100 Subject: [PATCH] Support null-values --- src/com/bulenkov/darcula/DarculaLaf.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/com/bulenkov/darcula/DarculaLaf.java b/src/com/bulenkov/darcula/DarculaLaf.java index b1b8d0b..9aa1e30 100755 --- a/src/com/bulenkov/darcula/DarculaLaf.java +++ b/src/com/bulenkov/darcula/DarculaLaf.java @@ -218,6 +218,9 @@ public final class DarculaLaf extends BasicLookAndFeel { } private static Object parseValue(String key, String value) { + if ("null".equals(value)) { + return null; + } if (key.endsWith("Insets")) { final List numbers = StringUtil.split(value, ","); return new InsetsUIResource(Integer.parseInt(numbers.get(0)),