From 5bf82a5684d45bb6bc4343d3549ed886d6fb4c8f Mon Sep 17 00:00:00 2001 From: Valentin Spiroski Date: Fri, 9 Feb 2024 20:24:43 +0100 Subject: [PATCH] EmojiACtionListener2 --- src/main/java/EmojiPicker.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/EmojiPicker.java b/src/main/java/EmojiPicker.java index 89fd7fb..c641c38 100644 --- a/src/main/java/EmojiPicker.java +++ b/src/main/java/EmojiPicker.java @@ -23,6 +23,10 @@ public class EmojiPicker extends JPanel { private String emoji; + public EmojiActionListener(String emoji) { + this.emoji = emoji; + } + @Override public void actionPerformed(ActionEvent e) {