|
|
@ -59,6 +59,7 @@ public class ChatGUI implements ActionListener { |
|
|
|
JMenu colors = new JMenu("font-colors"); |
|
|
|
JMenu size = new JMenu("font-size"); |
|
|
|
|
|
|
|
// Create Pop-Up Button |
|
|
|
popupButton = new JButton("Popup-Nachricht senden"); |
|
|
|
popupButton.addActionListener(this); |
|
|
|
|
|
|
@ -162,12 +163,10 @@ public class ChatGUI implements ActionListener { |
|
|
|
sendPopupMessage(message); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
public void sendPopupMessage(String message) { |
|
|
|
JOptionPane.showMessageDialog(gui, message); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |