Browse Source

启动时会将初始化的颜色添加到历史颜色中,不需要这样做

master
yaoh.wu 8 years ago
parent
commit
37b19cce1d
  1. 3
      designer_base/src/com/fr/design/gui/style/BorderPane.java
  2. 2
      designer_base/src/com/fr/design/mainframe/backgroundpane/PatternBackgroundQuickPane.java

3
designer_base/src/com/fr/design/gui/style/BorderPane.java

@ -99,9 +99,6 @@ public class BorderPane extends AbstractBasicStylePane {
this.add(northPane, BorderLayout.NORTH);
this.add(centerPane, BorderLayout.CENTER);
this.currentLineColorPane.setSelectObject(Color.BLACK);
outerToggleButton.addChangeListener(new ChangeListener() {
@Override

2
designer_base/src/com/fr/design/mainframe/backgroundpane/PatternBackgroundQuickPane.java

@ -52,8 +52,6 @@ public class PatternBackgroundQuickPane extends BackgroundQuickPane {
JPanel colorPane = new JPanel(new GridLayout(0, 2));
foregroundColorPane = new ColorSelectBox(70);
backgroundColorPane = new ColorSelectBox(70);
foregroundColorPane.setSelectObject(Color.lightGray);
backgroundColorPane.setSelectObject(Color.black);
colorPane.add(this.createLabelColorPane(Inter.getLocText("Foreground") + ":", foregroundColorPane));
colorPane.add(this.createLabelColorPane(Inter.getLocText("Background") + ":", backgroundColorPane));

Loading…
Cancel
Save