diff --git a/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java b/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java index 60bc2ea..982d73f 100644 --- a/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java +++ b/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java @@ -16,6 +16,7 @@ import javax.swing.border.EmptyBorder; public class GamelauncherMain extends JFrame {//class + int yAbschnitt = 500; public int breite = 1270; @@ -84,10 +85,10 @@ public class GamelauncherMain extends JFrame {//class btnTikTakToe.setFont(new Font("Consolas", Font.PLAIN, 12)); btnTextadventure.setFont(new Font("Consolas", Font.PLAIN, 12)); - btnSnake.setBounds(10, 500, 300, 25); - btnTikTakToe.setBounds(630, 500, 300, 25); - btnMouse.setBounds(320, 500, 300, 25); - btnTextadventure.setBounds(940, 500, 300, 25); + btnSnake.setBounds(10, yAbschnitt, 300, 25); + btnTikTakToe.setBounds(630, yAbschnitt, 300, 25); + btnMouse.setBounds(320, yAbschnitt, 300, 25); + btnTextadventure.setBounds(940, yAbschnitt, 300, 25); contentPane.add(btnSnake); contentPane.add(btnMouse);