From 7bc2a58ce8d65eac18c52ce07b5fc8aa5be46d42 Mon Sep 17 00:00:00 2001 From: Konstantin Bulenkov Date: Sun, 11 May 2014 19:40:28 +0200 Subject: [PATCH] fix Metal theme --- src/com/bulenkov/darcula/DarculaLaf.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/bulenkov/darcula/DarculaLaf.java b/src/com/bulenkov/darcula/DarculaLaf.java index 76f99b1..69da3e9 100755 --- a/src/com/bulenkov/darcula/DarculaLaf.java +++ b/src/com/bulenkov/darcula/DarculaLaf.java @@ -52,10 +52,10 @@ public final class DarculaLaf extends BasicLookAndFeel { try { if (SystemInfo.isWindows || SystemInfo.isLinux) { base = new MetalLookAndFeel(); + MetalLookAndFeel.setCurrentTheme(new DarculaMetalTheme()); } else { final String name = UIManager.getSystemLookAndFeelClassName(); base = (BasicLookAndFeel)Class.forName(name).newInstance(); - MetalLookAndFeel.setCurrentTheme(new DarculaMetalTheme()); } } catch (Exception ignore) {