diff --git a/src/main/java/Notizbuch.java b/src/main/java/Notizbuch.java index 531ec00..6320e42 100644 --- a/src/main/java/Notizbuch.java +++ b/src/main/java/Notizbuch.java @@ -31,6 +31,7 @@ public class Notizbuch extends JFrame implements ActionListener { add(new JScrollPane(textArea), BorderLayout.CENTER); saveButton = new JButton("Speichern"); + saveButton.addActionListener(this); } @Override