From 37072af2e6843041582cf8d875cf478392270623 Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Thu, 19 Jan 2023 12:20:20 +0100 Subject: [PATCH] =?UTF-8?q?[MouseGame=20Class]:=20=C3=84ndern=20der=20Fens?= =?UTF-8?q?tergr=C3=B6=C3=9Fe=20und=20Titel.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gruppenprojekt/JavaGamelauncher/MouseGame.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java b/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java index 290a38f..13b267c 100644 --- a/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java +++ b/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java @@ -1,6 +1,7 @@ package de.hs_fulda.gruppenprojekt.JavaGamelauncher; import java.awt.EventQueue; +import java.awt.Toolkit; import javax.swing.JFrame; import javax.swing.JPanel; @@ -28,8 +29,12 @@ public class MouseGame extends JFrame { }//end main - public MouseGame() { + public MouseGame() { + //Fensterrahmen Haupt Layout + setTitle("Maze Game"); + setBounds(100, 100, 900, 650); + }//end standardkonstruktor