From 344f0ff0cd298fe1c75daec219eeffaa3c2c42e0 Mon Sep 17 00:00:00 2001 From: Marc Dimmerling Date: Fri, 9 Feb 2024 17:22:32 +0100 Subject: [PATCH] noteText.toString --- 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 69f012f..15e9a09 100644 --- a/src/main/java/Notizbuch.java +++ b/src/main/java/Notizbuch.java @@ -64,7 +64,7 @@ public class Notizbuch extends JFrame implements ActionListener { while ((line = reader.readLine()) != null) { noteText.append(line).append("\n"); } - + textArea.setText(noteText.toString()); } catch (IOException e) { }