From 612a10fb1903761b9e7eb958228bb2bb3b4d835e Mon Sep 17 00:00:00 2001 From: fdai7431 Date: Thu, 19 Jan 2023 12:25:41 +0100 Subject: [PATCH] refactoring:[TikTakToeGame Class]: Wert ersetzt --- .../gruppenprojekt/JavaGamelauncher/TikTakToeGame.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/TikTakToeGame.java b/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/TikTakToeGame.java index 6681c35..f8a26e9 100644 --- a/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/TikTakToeGame.java +++ b/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/TikTakToeGame.java @@ -24,6 +24,8 @@ import javax.swing.JTextField; public class TikTakToeGame extends JFrame{ + int size = 600; + public JPanel contentPane; public boolean gewonnen = false; public JTextField TextFieldAusgabe1; @@ -68,7 +70,7 @@ public class TikTakToeGame extends JFrame{ setTitle("TikTakToe Game"); setIconImage(Toolkit.getDefaultToolkit().getImage(GamelauncherMain.class.getResource("/de/hs_fulda/gruppenprojekt/JavaGamelauncher/media/GameLauncher.ico"))); //setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); - setBounds(100, 100, 600, 600); + setBounds(100, 100, size, size); contentPane = new JPanel(); contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));