fix: code layout

This commit is contained in:
juewe 2024-06-25 08:00:02 +02:00
parent 753edd83c3
commit fc025c8c78
1 changed files with 4 additions and 6 deletions

View File

@ -86,12 +86,10 @@ public final class LogsPanelProvider {
clipboard.setContents(selection, null); clipboard.setContents(selection, null);
}); });
header.add(copyBtn); header.add(copyBtn);
JButton clearBtn = JButton clearBtn = new JButton(MessageUtils.getLocalizedMessage("button.clear"));
new JButton( clearBtn.setMargin(new Insets(3, 3, 3, 3));
MessageUtils.getLocalizedMessage("button.clear")); clearBtn.addActionListener(
clearBtn.setMargin(new Insets(3, 3, 3, 3));
clearBtn.addActionListener(
e -> { e -> {
logTextArea.setText(null); logTextArea.setText(null);
}); });