From 8f6b20f495ade782cb471a1d3a4ccb6dede28083 Mon Sep 17 00:00:00 2001 From: Valentin Spiroski Date: Fri, 9 Feb 2024 21:50:46 +0100 Subject: [PATCH] small correction --- src/main/java/ChatClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ChatClient.java b/src/main/java/ChatClient.java index 3ce3327..30a7136 100644 --- a/src/main/java/ChatClient.java +++ b/src/main/java/ChatClient.java @@ -134,7 +134,7 @@ public class ChatClient extends JFrame implements KeyListener { emojiButton = new JButton("😀"); // Create emoji button with a smiley face emojiButton.setPreferredSize(new Dimension(50, 50));// Set preferred size for the emoji button emojiButton.addActionListener(e -> showEmojiPicker());// Add action listener to show emoji picker when button is clicked - + emojiPanel.add(emojiButton); // Add emoji button to panel inputPanel.add(emojiPanel, BorderLayout.LINE_END);// Add emoji panel to the right side of the input panel