From acf2f3b92841638274adc1048ac397cae3035e0c Mon Sep 17 00:00:00 2001 From: hzzz Date: Fri, 4 Aug 2017 19:42:44 +0800 Subject: [PATCH] fix --- designer_base/src/com/fr/design/menu/ToolBarDef.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/designer_base/src/com/fr/design/menu/ToolBarDef.java b/designer_base/src/com/fr/design/menu/ToolBarDef.java index 40875b764..21a9201d7 100644 --- a/designer_base/src/com/fr/design/menu/ToolBarDef.java +++ b/designer_base/src/com/fr/design/menu/ToolBarDef.java @@ -20,7 +20,7 @@ public class ToolBarDef { /* * 一个static的方法生成一个JToolBar */ - public static UIToolbar createJToolBar(Color background) { + public static UIToolbar createJToolBar(final Color background) { UIToolbar toolbar = new UIToolbar(FlowLayout.LEFT, new UIToolBarUI(){ @Override public void paint(Graphics g, JComponent c) {