From b70dabb02fe6cf870db4a747e6ebf0348ce3ae7e Mon Sep 17 00:00:00 2001 From: delvh Date: Sat, 9 Nov 2019 10:23:00 +0100 Subject: [PATCH] Improved ChatWindow according to CyB3RC0nN0Rs Feedback --- src/main/java/envoy/client/ui/ChatWindow.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/envoy/client/ui/ChatWindow.java b/src/main/java/envoy/client/ui/ChatWindow.java index 1e43245..f8c2fcf 100644 --- a/src/main/java/envoy/client/ui/ChatWindow.java +++ b/src/main/java/envoy/client/ui/ChatWindow.java @@ -131,7 +131,7 @@ public class ChatWindow extends JFrame { } }); - // checks for changed Message + // Checks for changed Message messageEnterTextArea.setWrapStyleWord(true); messageEnterTextArea.setCaretColor(new Color(255, 255, 255)); messageEnterTextArea.setForeground(new Color(255, 255, 255)); @@ -187,7 +187,7 @@ public class ChatWindow extends JFrame { SettingsScreen.open(localDB.getUser().getName()); } catch (Exception e) { SettingsScreen.open(); - System.err.println("An Error occured while opening the Settings screen: " + e); + System.err.println("An error occured while opening the settings screen: " + e); e.printStackTrace(); } });