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: diff --git a/out/production/Alpha/Main$2.class b/out/production/Alpha/Main$2.class index 1ec11a0..a68c910 100644 Binary files a/out/production/Alpha/Main$2.class and b/out/production/Alpha/Main$2.class differ diff --git a/src/Main.java b/src/Main.java index 07c8858..09ad006 100644 --- a/src/Main.java +++ b/src/Main.java @@ -27,8 +27,12 @@ public class Main { this.jmb.add(jm1); 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();