@ -42,7 +42,7 @@ public class Notizbuch extends JFrame implements ActionListener {
}
// Methode zum Speichern von Notizen
public void saveNote() {
try (PrintWriter writer = new PrintWriter(new FileWriter("notizen.txt"))) {
writer.print(getTextArea().getText());