|
@ -51,8 +51,8 @@ public class EmojiPicker extends JPanel { |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public void actionPerformed(ActionEvent e) { |
|
|
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 |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|