From bea54c3a9612e4484a59329cec906a40d541f5c1 Mon Sep 17 00:00:00 2001 From: Marc Dimmerling Date: Wed, 7 Feb 2024 14:36:45 +0100 Subject: [PATCH] JScrollPane variable erstellt --- src/main/java/ChatClient.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/ChatClient.java b/src/main/java/ChatClient.java index 8d0b776..1068810 100644 --- a/src/main/java/ChatClient.java +++ b/src/main/java/ChatClient.java @@ -13,7 +13,8 @@ public class ChatClient extends JFrame implements KeyListener { // GUI private JTextArea outputTextArea; private JTextField inputTextField; - + private JScrollPane outputScrollPane; + public ChatClient(int port) { super("Chat"); this.port = port;