|
|
@ -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) { |
|
|
|