diff --git a/src/main/java/ChatClient.java b/src/main/java/ChatClient.java index 6380f66..8f0c1f0 100644 --- a/src/main/java/ChatClient.java +++ b/src/main/java/ChatClient.java @@ -24,6 +24,7 @@ public class ChatClient extends JFrame { private void initGui() { outputTextArea = new JTextArea(); + outputTextArea.setEditable(false); outputTextArea.setBorder(BorderFactory.createTitledBorder("Chat")); inputTextField = new JTextField();