Browse Source

noteText.toString

remotes/origin/server
Marc Dimmerling 11 months ago
parent
commit
344f0ff0cd
  1. 2
      src/main/java/Notizbuch.java

2
src/main/java/Notizbuch.java

@ -64,7 +64,7 @@ public class Notizbuch extends JFrame implements ActionListener {
while ((line = reader.readLine()) != null) { while ((line = reader.readLine()) != null) {
noteText.append(line).append("\n"); noteText.append(line).append("\n");
} }
textArea.setText(noteText.toString());
} catch (IOException e) { } catch (IOException e) {
} }

Loading…
Cancel
Save