diff --git a/src/de/jaujau/gui/Dashboard_GUI.java b/src/de/jaujau/gui/Dashboard_GUI.java index c646457..bdd4710 100644 --- a/src/de/jaujau/gui/Dashboard_GUI.java +++ b/src/de/jaujau/gui/Dashboard_GUI.java @@ -70,6 +70,9 @@ public class Dashboard_GUI extends JPanel{ private final JScrollPane gegnerkartenpane = new JScrollPane(); private final JPanel gegnerkarten = new JPanel(); private final JButton getname = new JButton("setzen"); + private final JPanel panel_3 = new JPanel(); + private final JLabel level_beschreibung = new JLabel("Aktuelles Level:"); + private final JLabel level_count = new JLabel("0"); //Moving Image @@ -244,6 +247,18 @@ public class Dashboard_GUI extends JPanel{ } }); start.add(panel_1, BorderLayout.CENTER); + panel_1.setLayout(new BorderLayout(0, 0)); + panel_3.setPreferredSize(new Dimension(100, 50)); + + panel_1.add(panel_3, BorderLayout.NORTH); + level_beschreibung.setHorizontalTextPosition(SwingConstants.CENTER); + level_beschreibung.setHorizontalAlignment(SwingConstants.CENTER); + level_beschreibung.setFont(new Font("Tahoma", Font.PLAIN, 22)); + + panel_3.add(level_beschreibung); + level_count.setFont(new Font("Tahoma", Font.PLAIN, 22)); + + panel_3.add(level_count); start.add(panel_2, BorderLayout.SOUTH);