diff --git a/src/main/java/Notizbuch.java b/src/main/java/Notizbuch.java index fe05dcd..531ec00 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.JButton; import Test_Package.JScrollPane; import Test_Package.JTextArea; @@ -28,6 +29,8 @@ public class Notizbuch extends JFrame implements ActionListener { textArea = new JTextArea(); add(new JScrollPane(textArea), BorderLayout.CENTER); + + saveButton = new JButton("Speichern"); } @Override