Browse Source

formatter

final/10.0
Wim.Zhai 6 years ago
parent
commit
e42e066b57
  1. 7
      designer-chart/src/main/java/com/fr/extended/chart/AbstractExtendedChartReportDataPane.java

7
designer-chart/src/main/java/com/fr/extended/chart/AbstractExtendedChartReportDataPane.java

@ -11,7 +11,8 @@ import com.fr.design.mainframe.chart.gui.data.report.AbstractReportDataContentPa
import javax.swing.BorderFactory; import javax.swing.BorderFactory;
import javax.swing.JPanel; import javax.swing.JPanel;
import javax.swing.SwingConstants; import javax.swing.SwingConstants;
import java.awt.*; import java.awt.BorderLayout;
import java.awt.Component;
import java.util.Arrays; import java.util.Arrays;
/** /**
@ -31,9 +32,7 @@ public abstract class AbstractExtendedChartReportDataPane<T extends AbstractData
Component[][] components = new Component[len][2]; Component[][] components = new Component[len][2];
for (int i = 0; i < len; i++) { for (int i = 0; i < len; i++) {
Component formulaPane = formulaPanes[i]; components[i] = new Component[]{new UILabel(labels[i], SwingConstants.LEFT), formulaPanes[i]};
formulaPane.setPreferredSize(new Dimension(100, 20));
components[i] = new Component[]{new UILabel(labels[i], SwingConstants.LEFT), formulaPane};
} }
double p = TableLayout.PREFERRED; double p = TableLayout.PREFERRED;

Loading…
Cancel
Save