From ae3fa8a8978acc1db81a31562d184bf50b98f9de Mon Sep 17 00:00:00 2001 From: Konstantin Bulenkov Date: Thu, 6 Mar 2014 11:12:20 +0100 Subject: [PATCH] add menu for Darcula --- swingset3/com/sun/swingset3/SwingSet3.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/swingset3/com/sun/swingset3/SwingSet3.java b/swingset3/com/sun/swingset3/SwingSet3.java index fc4a085..8339645 100644 --- a/swingset3/com/sun/swingset3/SwingSet3.java +++ b/swingset3/com/sun/swingset3/SwingSet3.java @@ -31,6 +31,8 @@ package com.sun.swingset3; +import com.bulenkov.darcula.DarculaLaf; +import com.bulenkov.darcula.DarculaLookAndFeelInfo; import com.sun.swingset3.codeview.CodeViewer; import com.sun.swingset3.utilities.AnimatingSplitPane; import com.sun.swingset3.utilities.RoundedBorder; @@ -422,6 +424,7 @@ public class SwingSet3 extends SingleFrameApplication { UIManager.LookAndFeelInfo lookAndFeelInfos[] = UIManager.getInstalledLookAndFeels(); lookAndFeel = UIManager.getLookAndFeel().getClass().getName(); lookAndFeelRadioGroup = new ButtonGroup(); + menu.add(createLookAndFeelItem(new DarculaLookAndFeelInfo().getName(), DarculaLaf.class.getName())); for(UIManager.LookAndFeelInfo lafInfo: lookAndFeelInfos) { menu.add(createLookAndFeelItem(lafInfo.getName(), lafInfo.getClassName())); }