diff --git a/src/main/java/EmojiPicker.java b/src/main/java/EmojiPicker.java index dfba42d..85963eb 100644 --- a/src/main/java/EmojiPicker.java +++ b/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 } } }