Browse Source

Merge pull request #1035 in BA/design from ~HZZZ/design:fix to 9.0

* commit 'acf2f3b92841638274adc1048ac397cae3035e0c':
  fix
master
superman 7 years ago
parent
commit
406bdb3ea1
  1. 2
      designer_base/src/com/fr/design/menu/ToolBarDef.java

2
designer_base/src/com/fr/design/menu/ToolBarDef.java

@ -20,7 +20,7 @@ public class ToolBarDef {
/* /*
* 一个static的方法生成一个JToolBar * 一个static的方法生成一个JToolBar
*/ */
public static UIToolbar createJToolBar(Color background) { public static UIToolbar createJToolBar(final Color background) {
UIToolbar toolbar = new UIToolbar(FlowLayout.LEFT, new UIToolBarUI(){ UIToolbar toolbar = new UIToolbar(FlowLayout.LEFT, new UIToolBarUI(){
@Override @Override
public void paint(Graphics g, JComponent c) { public void paint(Graphics g, JComponent c) {

Loading…
Cancel
Save