use a reasonable size for the errorhandler dialog

This commit is contained in:
yugecin 2016-09-27 19:58:45 +02:00
parent 857118accb
commit f3de8a4506

View File

@ -55,13 +55,13 @@ public class ErrorHandler {
optionsLogReport = {"Send Report", "View Error Log", "Close"}; optionsLogReport = {"Send Report", "View Error Log", "Close"};
/** Text area for Exception. */ /** Text area for Exception. */
private static final JTextArea textArea = new JTextArea(7, 30); private static final JTextArea textArea = new JTextArea(15, 100);
static { static {
textArea.setEditable(false); textArea.setEditable(false);
textArea.setBackground(UIManager.getColor("Panel.background")); textArea.setBackground(UIManager.getColor("Panel.background"));
textArea.setCursor(Cursor.getPredefinedCursor(Cursor.TEXT_CURSOR)); textArea.setCursor(Cursor.getPredefinedCursor(Cursor.TEXT_CURSOR));
textArea.setTabSize(2); textArea.setTabSize(2);
textArea.setLineWrap(true); textArea.setLineWrap(false);
textArea.setWrapStyleWord(true); textArea.setWrapStyleWord(true);
} }