|
@ -58,7 +58,7 @@ public class ChatGUI implements ActionListener { |
|
|
JMenu options = new JMenu("options"); |
|
|
JMenu options = new JMenu("options"); |
|
|
JMenu colors = new JMenu("font-colors"); |
|
|
JMenu colors = new JMenu("font-colors"); |
|
|
JMenu size = new JMenu("font-size"); |
|
|
JMenu size = new JMenu("font-size"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Create Pop-Up Button |
|
|
// Create Pop-Up Button |
|
|
popupButton = new JButton("Popup-Nachricht senden"); |
|
|
popupButton = new JButton("Popup-Nachricht senden"); |
|
|
popupButton.addActionListener(this); |
|
|
popupButton.addActionListener(this); |
|
@ -114,7 +114,7 @@ public class ChatGUI implements ActionListener { |
|
|
gui.setVisible(true); |
|
|
gui.setVisible(true); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// main methode zum Testen, müsste bei Implementation entfernt werden |
|
|
|
|
|
|
|
|
// main methode zum Testen, müsste bei Implementation in die Client-Klasse entfernt werden |
|
|
public static void main(String[] args) { |
|
|
public static void main(String[] args) { |
|
|
|
|
|
|
|
|
new ChatGUI(); |
|
|
new ChatGUI(); |
|
|