border initialization

This commit is contained in:
Konstantin Bulenkov
2012-09-05 19:20:03 +04:00
parent 208245232a
commit a84f0481c5
@@ -171,6 +171,10 @@ public final class DarculaLaf extends BasicLookAndFeel {
Integer.parseInt(numbers.get(1)),
Integer.parseInt(numbers.get(2)),
Integer.parseInt(numbers.get(3))));
} else if (key.endsWith(".border")) {
try {
defaults.put(key, Class.forName(value).newInstance());
} catch (Exception ignore) {}
} else {
final Color color = ColorUtil.fromHex(value, null);
final Integer invVal = getInteger(value);