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); }