|
@ -27,6 +27,7 @@ public class Notizbuch extends JFrame implements ActionListener { |
|
|
loadButton = new JButton("Laden"); |
|
|
loadButton = new JButton("Laden"); |
|
|
loadButton.addActionListener(this); |
|
|
loadButton.addActionListener(this); |
|
|
|
|
|
|
|
|
|
|
|
// Erstellen eines Panels für die Buttons und Hinzufügen der Buttons |
|
|
JPanel buttonPanel = new JPanel(); |
|
|
JPanel buttonPanel = new JPanel(); |
|
|
buttonPanel.add(saveButton); |
|
|
buttonPanel.add(saveButton); |
|
|
buttonPanel.add(loadButton); |
|
|
buttonPanel.add(loadButton); |
|
|