Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe
Commits:
-
c28a9e85
by Tony Chemit at 2024-02-29T12:19:24+01:00
1 changed file:
Changes:
| ... | ... | @@ -93,7 +93,6 @@ public class DeletePanel extends JPanel { |
| 93 | 93 | JList<?> list = new JList<>(new Vector<>(builder.getData()));
|
| 94 | 94 | list.setFocusable(false);
|
| 95 | 95 | list.setSelectionModel(new DisabledItemSelectionModel());
|
| 96 | - list.setVisibleRowCount(Math.min(list.getModel().getSize() + 1, 5));
|
|
| 97 | 96 | panelNorth.add(BorderLayout.CENTER, new JScrollPane(list));
|
| 98 | 97 | panelExtraMessages = new JPanel(new GridLayout(0, 1));
|
| 99 | 98 | panelNorth.add(BorderLayout.SOUTH, panelExtraMessages);
|
| ... | ... | @@ -106,7 +105,7 @@ public class DeletePanel extends JPanel { |
| 106 | 105 | panelSouth.add(BorderLayout.NORTH, new JSeparator(SwingConstants.HORIZONTAL));
|
| 107 | 106 | panelSouth.add(BorderLayout.CENTER, information);
|
| 108 | 107 | |
| 109 | - add(BorderLayout.NORTH, panelNorth);
|
|
| 108 | + add(BorderLayout.CENTER, panelNorth);
|
|
| 110 | 109 | add(BorderLayout.SOUTH, panelSouth);
|
| 111 | 110 | }
|
| 112 | 111 |