From 804d5bca2f117f42ceb49b8d84a910b8b1d6f0a9 Mon Sep 17 00:00:00 2001 From: Marc Dimmerling Date: Fri, 9 Feb 2024 16:59:13 +0100 Subject: [PATCH] BorderLayout --- src/main/java/Notizbuch.java | 3 +++ 1 file changed, 3 insertions(+) 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