Browse Source

refactoring: EmojiPicker5

remotes/origin/client-handler
Valentin Spiroski 11 months ago
parent
commit
894f9ed008
  1. 4
      src/main/java/EmojiPicker.java

4
src/main/java/EmojiPicker.java

@ -51,8 +51,8 @@ public class EmojiPicker extends JPanel {
@Override
public void actionPerformed(ActionEvent e) {
System.out.println("Selected emoji: " + emoji);
textField.setText(textField.getText() + emoji);
System.out.println("Selected emoji: " + emoji); // Print selected emoji to console
textField.setText(textField.getText() + emoji); // Append selected emoji to text field
}
}
}

Loading…
Cancel
Save