From 110dfc8472686095891343fbeb4b6776f0ffc4ad Mon Sep 17 00:00:00 2001 From: Alena Bandarovich Date: Wed, 7 Feb 2024 22:12:28 +0100 Subject: [PATCH] Change background color of ouput window --- src/main/java/ChatClient.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/ChatClient.java b/src/main/java/ChatClient.java index 30b486c..271ac6e 100644 --- a/src/main/java/ChatClient.java +++ b/src/main/java/ChatClient.java @@ -30,6 +30,7 @@ public class ChatClient extends JFrame implements KeyListener { outputTextArea = new JTextArea(); outputTextArea.setEditable(false); outputTextArea.setBorder(BorderFactory.createTitledBorder("Chat")); + outputTextArea.setBackground(Color.lightGray); outputScrollPane = new JScrollPane(outputTextArea);