diff --git a/src/main/java/ChatClient.java b/src/main/java/ChatClient.java index 5b967af..dac4280 100644 --- a/src/main/java/ChatClient.java +++ b/src/main/java/ChatClient.java @@ -51,6 +51,7 @@ public class ChatClient extends JFrame implements KeyListener { // while (true) { // String message = fromServerReader.readLine(); // outputTextArea.append(message + "\n"); + // outputScrollPane.getVerticalScrollBar().setValue(outputScrollPane.getVerticalScrollBar().getMaximum()); // } // Solang fromServerReader nicht erstellt ist als Kommentar }