From 95822762d09f8e2e3a15aab8a203547d425e16a9 Mon Sep 17 00:00:00 2001 From: Komlovski Date: Fri, 5 Jul 2019 20:05:20 +0200 Subject: [PATCH 1/2] Quelle --- Info Datei Nur für Alpha | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Info Datei Nur für Alpha b/Info Datei Nur für Alpha index 4c33c0f..b3ff14e 100644 --- a/Info Datei Nur für Alpha +++ b/Info Datei Nur für Alpha @@ -1,4 +1,9 @@ Java AWT | BorderLayout Class + +https://www.geeksforgeeks.org/java-awt-borderlayout-class/ + + + BorderLayout is the default layout for the window objects such as JFrame, JWindow, JDialog, JInternalFrame etc. BorderLayout arranges the components in the five regions. Four sides are referred to as north, south, east, and west. The middle part is called the center. Each region can contain only one component and is identified by a corresponding constant as NORTH, SOUTH, EAST, WEST, and CENTER. Constructors: From 7d380326a62a5b3af7eea7fd1b21fb4c9cffe9a8 Mon Sep 17 00:00:00 2001 From: Hauch IT Date: Fri, 5 Jul 2019 20:06:29 +0200 Subject: [PATCH 2/2] Fenster wird um Auswahl Fenster erweitert --- out/production/Alpha/Main$2.class | Bin 0 -> 748 bytes src/Main.java | 4 ++++ 2 files changed, 4 insertions(+) create mode 100644 out/production/Alpha/Main$2.class diff --git a/out/production/Alpha/Main$2.class b/out/production/Alpha/Main$2.class new file mode 100644 index 0000000000000000000000000000000000000000..a68c9100db6b6dfe2570d9be88bb88ba2c25179e GIT binary patch literal 748 zcmaJ#&nk||@c%N=Z8M5pqyF=k`nTRGn z_yhb=#xo01W7H;{JNN6HbMNf8?_a(Gc!rH88n|PR6%Q^tb6EAThPy8Ax#+sMFVLLH zv}@F}NOU?W|9RBBVh1r0&0sR_n5N@17gpbbPgr8CSP!+a#HdqMsah2y{)f}LW>-5-E zK?+tZFn134k~NmX3qQhX*FWLXFD$Rhyr7`1-|)Pjcph$Gi8wXfB!YumxJ_HfGCH_s KF_~-7^7jKR(VJxe literal 0 HcmV?d00001 diff --git a/src/Main.java b/src/Main.java index cf01735..951c4ad 100644 --- a/src/Main.java +++ b/src/Main.java @@ -25,8 +25,12 @@ public class Main { this.contantPane = new JPanel(); + this.fr.setContentPane(contantPane); + + this.contantPane.add(new JLabel("Ein Tool der CI!")); + this.contantPane.add(new JLabel("1) Tools von Daniel")); ButtonGroup buttonGroup = new ButtonGroup();