diff --git a/src/main/java/Notizbuch.java b/src/main/java/Notizbuch.java index f3fbf9b..73ca6e0 100644 --- a/src/main/java/Notizbuch.java +++ b/src/main/java/Notizbuch.java @@ -7,6 +7,7 @@ import java.io.*; import javax.swing.JFrame; import Test_Package.BorderLayout; +import Test_Package.JTextArea; @@ -23,6 +24,8 @@ public class Notizbuch extends JFrame implements ActionListener { setSize(400, 300); setDefaultCloseOperation(EXIT_ON_CLOSE); setLayout(new BorderLayout()); + + textArea = new JTextArea(); } @Override