From ee99d4ec886eb8cd07afcd95544c1d3887b25bf7 Mon Sep 17 00:00:00 2001 From: Marc Dimmerling Date: Fri, 9 Feb 2024 19:54:27 +0100 Subject: [PATCH] refactoring: SaveNoteKommi --- src/main/java/Notizbuch.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());