Improved ChatWindow according to CyB3RC0nN0Rs Feedback

This commit is contained in:
delvh 2019-11-09 10:23:00 +01:00
parent d91fb6bf21
commit b70dabb02f

View File

@ -131,7 +131,7 @@ public class ChatWindow extends JFrame {
} }
}); });
// checks for changed Message // Checks for changed Message
messageEnterTextArea.setWrapStyleWord(true); messageEnterTextArea.setWrapStyleWord(true);
messageEnterTextArea.setCaretColor(new Color(255, 255, 255)); messageEnterTextArea.setCaretColor(new Color(255, 255, 255));
messageEnterTextArea.setForeground(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()); SettingsScreen.open(localDB.getUser().getName());
} catch (Exception e) { } catch (Exception e) {
SettingsScreen.open(); 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(); e.printStackTrace();
} }
}); });