From 7f8b445989e0567b4b032a7991a2ec34215f8c48 Mon Sep 17 00:00:00 2001 From: Paul Kattenborn Date: Fri, 9 Feb 2024 19:42:38 +0100 Subject: [PATCH] Logik von Pop-Up Button verbessert --- src/main/java/ChatGUI.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/ChatGUI.java b/src/main/java/ChatGUI.java index 6ad34f1..08d12d6 100644 --- a/src/main/java/ChatGUI.java +++ b/src/main/java/ChatGUI.java @@ -160,6 +160,7 @@ public class ChatGUI implements ActionListener { if (e.getSource() == popupButton) { String message = inputTextField.getText(); inputTextField.setText(""); + addMessage(message); sendPopupMessage(message); }