Browse Source

Zeilensortierung

remotes/origin/server
Marc Dimmerling 11 months ago
parent
commit
ad1a16fe26
  1. 7
      src/main/java/Notizbuch.java

7
src/main/java/Notizbuch.java

@ -6,12 +6,6 @@ import java.awt.event.*;
import java.io.*;
import javax.swing.JFrame;
public class Notizbuch extends JFrame implements ActionListener {
private JTextArea textArea;
@ -57,6 +51,7 @@ public class Notizbuch extends JFrame implements ActionListener {
JOptionPane.showMessageDialog(this, "Fehler beim Speichern der Notiz: " + e.getMessage());
}
}
private void loadNote() {
try (BufferedReader reader = new BufferedReader(new FileReader("notizen.txt"))) {
StringBuilder noteText = new StringBuilder();

Loading…
Cancel
Save