diff --git a/src/main/java/Notizbuch.java b/src/main/java/Notizbuch.java index 7371aae..23247c2 100644 --- a/src/main/java/Notizbuch.java +++ b/src/main/java/Notizbuch.java @@ -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());