|
|
@ -37,10 +37,10 @@ public class MobileTopParamPane extends BasicBeanPane<MobileTopParamStyle> { |
|
|
|
Component[][] components = {{autoCommitCheckBox},{showCountTextField, maxDirectShowCountSpinner}}; |
|
|
|
Component[][] components = {{autoCommitCheckBox},{showCountTextField, maxDirectShowCountSpinner}}; |
|
|
|
double p = TableLayout.PREFERRED; |
|
|
|
double p = TableLayout.PREFERRED; |
|
|
|
double f = TableLayout.FILL; |
|
|
|
double f = TableLayout.FILL; |
|
|
|
double[] portRowSize = {p, p}; |
|
|
|
double[] rowSize = {p, p}; |
|
|
|
double[] portColumnSize = {p, f}; |
|
|
|
double[] columnSize = {p, f}; |
|
|
|
JPanel portComPane = TableLayoutHelper.createCommonTableLayoutPane(components, portRowSize, portColumnSize, GAP); |
|
|
|
JPanel paraPane = TableLayoutHelper.createCommonTableLayoutPane(components, rowSize, columnSize, GAP); |
|
|
|
panel.add(portComPane); |
|
|
|
panel.add(paraPane); |
|
|
|
this.add(panel, BorderLayout.CENTER); |
|
|
|
this.add(panel, BorderLayout.CENTER); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|