diff --git a/src/main/java/Notizbuch.java b/src/main/java/Notizbuch.java index 23371dc..f3fbf9b 100644 --- a/src/main/java/Notizbuch.java +++ b/src/main/java/Notizbuch.java @@ -6,6 +6,8 @@ import java.awt.event.*; import java.io.*; import javax.swing.JFrame; +import Test_Package.BorderLayout; + @@ -20,6 +22,7 @@ public class Notizbuch extends JFrame implements ActionListener { setTitle("Notizbuch"); setSize(400, 300); setDefaultCloseOperation(EXIT_ON_CLOSE); + setLayout(new BorderLayout()); } @Override