Browse Source

修改

master
mengao 8 years ago
parent
commit
814bea2e11
  1. 2
      designer_chart/src/com/fr/design/chart/axis/MinMaxValuePane.java

2
designer_chart/src/com/fr/design/chart/axis/MinMaxValuePane.java

@ -53,7 +53,7 @@ public class MinMaxValuePane extends JPanel {
protected double[] getRowSize(double p) { protected double[] getRowSize(double p) {
return new double[]{p, p, p, p}; return new double[]{p, p, p, p};
} }
public void addComponentListener(Component[][] components) { protected void addComponentListener(Component[][] components) {
for (int i = 0; i < components.length; i++) { for (int i = 0; i < components.length; i++) {
addListener((UICheckBox) components[i][0]); addListener((UICheckBox) components[i][0]);
ChartSwingUtils.addListener((UICheckBox) components[i][0], (UITextField) components[i][1]); ChartSwingUtils.addListener((UICheckBox) components[i][0], (UITextField) components[i][1]);

Loading…
Cancel
Save