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