Added Information message before importing scripts, text, XML, Symbol-Class

This commit is contained in:
Jindra Petřík
2021-11-21 12:53:05 +01:00
parent 8f71c32c87
commit 2e3b4d26ff
8 changed files with 88 additions and 3 deletions

View File

@@ -97,7 +97,7 @@ public class ViewMessages {
return;
}
JLabel warLabel = new JLabel("<html>" + message.replace("\r\n", "<br>") + "</html>");
JLabel warLabel = new JLabel("<html><center>" + message.replace("\r\n", "<br>") + "</center></html>");
final JPanel warPanel = new JPanel(new BorderLayout());
warPanel.add(warLabel, BorderLayout.CENTER);
donotShowAgainCheckBox = new JCheckBox(AppStrings.translate("message.confirm.donotshowagain"));