Browse Source

Logik von Pop-Up Button verbessert

remotes/origin/server
Paul Kattenborn 11 months ago
parent
commit
7f8b445989
  1. 1
      src/main/java/ChatGUI.java

1
src/main/java/ChatGUI.java

@ -160,6 +160,7 @@ public class ChatGUI implements ActionListener {
if (e.getSource() == popupButton) { if (e.getSource() == popupButton) {
String message = inputTextField.getText(); String message = inputTextField.getText();
inputTextField.setText(""); inputTextField.setText("");
addMessage(message);
sendPopupMessage(message); sendPopupMessage(message);
} }

Loading…
Cancel
Save