|
|
|
@ -146,6 +146,7 @@ public class UICorrelationPane extends JPanel implements UIObserver {
|
|
|
|
|
@Override |
|
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
|
tablePane.addBlankLine(); |
|
|
|
|
tablePane.doParentRepaintEvent(); |
|
|
|
|
fireTargetChanged(); |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
@ -154,13 +155,12 @@ public class UICorrelationPane extends JPanel implements UIObserver {
|
|
|
|
|
protected void initLayout() { |
|
|
|
|
this.setLayout(new BorderLayout(0, scale(4))); |
|
|
|
|
Column tableContent = column( |
|
|
|
|
cell(header), cell(tablePane).with(it -> |
|
|
|
|
it.setBorder(BorderFactory.createMatteBorder(0, 1, 0, 1, |
|
|
|
|
cell(header), cell(tablePane).weight(1).with(it -> |
|
|
|
|
it.setBorder(BorderFactory.createMatteBorder(0, 1, 1, 1, |
|
|
|
|
FlatUIUtils.getUIColor("defaultBorderColor", Color.BLACK) |
|
|
|
|
))) |
|
|
|
|
).getComponent(); |
|
|
|
|
this.add(tableContent, BorderLayout.CENTER); |
|
|
|
|
this.add(addButton, BorderLayout.SOUTH); |
|
|
|
|
this.add(column(4, cell(tableContent), cell(addButton)).getComponent()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected void initComponents() { |
|
|
|
|