From f3de8a4506217438b6c081bcf345ffd4ba426d9b Mon Sep 17 00:00:00 2001 From: yugecin Date: Tue, 27 Sep 2016 19:58:45 +0200 Subject: [PATCH] use a reasonable size for the errorhandler dialog --- src/itdelatrisu/opsu/ErrorHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/itdelatrisu/opsu/ErrorHandler.java b/src/itdelatrisu/opsu/ErrorHandler.java index 1dc4d227..356858b0 100644 --- a/src/itdelatrisu/opsu/ErrorHandler.java +++ b/src/itdelatrisu/opsu/ErrorHandler.java @@ -55,13 +55,13 @@ public class ErrorHandler { optionsLogReport = {"Send Report", "View Error Log", "Close"}; /** Text area for Exception. */ - private static final JTextArea textArea = new JTextArea(7, 30); + private static final JTextArea textArea = new JTextArea(15, 100); static { textArea.setEditable(false); textArea.setBackground(UIManager.getColor("Panel.background")); textArea.setCursor(Cursor.getPredefinedCursor(Cursor.TEXT_CURSOR)); textArea.setTabSize(2); - textArea.setLineWrap(true); + textArea.setLineWrap(false); textArea.setWrapStyleWord(true); }