diff --git a/src/main/java/Notizbuch.java b/src/main/java/Notizbuch.java index 4fbcd0a..88727c1 100644 --- a/src/main/java/Notizbuch.java +++ b/src/main/java/Notizbuch.java @@ -57,7 +57,7 @@ public class Notizbuch extends JFrame implements ActionListener { StringBuilder noteText = new StringBuilder(); String line; while ((line = reader.readLine()) != null) { - noteText.append(line).append("\n"); + noteText.append(line).append("\n"); // Zeilen aus der Datei lesen und StringBuilder hinzufügen } getTextArea().setText(noteText.toString()); } catch (IOException e) {