PanelBuilder builder = new PanelBuilder(formLayout, painterControl);
builder.setBorder(Borders.DLU4_BORDER);
CellConstraints cl = new CellConstraints();
CellConstraints cc = new CellConstraints();
JXTitledSeparator areaSeparator = new JXTitledSeparator();
areaSeparator.setName("extendedSeparator");
builder.add(areaSeparator, cc.xywh(1, 1, 4, 1));
int labelColumn = 2;
int widgetColumn = labelColumn + 2;
int currentRow = 3;
toggleSortOrder = new JButton();
toggleSortOrder.setName("toggleSortOrder");
builder.add(toggleSortOrder, cc.xywh(labelColumn, currentRow, 3, 1));
currentRow += 2;
resetSortOrder = new JButton();
resetSortOrder.setName("resetSortOrder");
builder.add(resetSortOrder, cc.xywh(labelColumn, currentRow, 3, 1));
currentRow += 2;
comparatorCombo = new JComboBox();
comparatorCombo.setName("comparatorCombo");
JLabel comparatorComboLabel = builder.addLabel(
"", cl.xywh(labelColumn, currentRow, 1, 1),
comparatorCombo, cc.xywh(widgetColumn, currentRow, 1, 1));
comparatorComboLabel.setName("comparatorComboLabel");
getLabelHandler().add(comparatorComboLabel, comparatorCombo);
currentRow += 2;
currentRow += 2;
JXTitledSeparator rolloverSeparator = new JXTitledSeparator();
rolloverSeparator.setName("rolloverSeparator");
builder.add(rolloverSeparator, cc.xywh(1, currentRow, 4, 1));
currentRow += 2;
rolloverEnabledBox = new JCheckBox();
rolloverEnabledBox.setName("rolloverBox");