From 4161a6ec91f48f8e0eb810b3562f6a48589e9a9c Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Thu, 19 Jan 2023 12:33:45 +0100 Subject: [PATCH] =?UTF-8?q?[MouseGame=20Class]:=20Hinzuf=C3=BCgen=20des=20?= =?UTF-8?q?Zielfeldes.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java | 6 ++++++ 1 file changed, 6 insertions(+) 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 ef09565..fb4e813 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 @@ -56,6 +56,12 @@ public class MouseGame extends JFrame { lblNewLabel_1.setBounds(10, 11, 83, 49); contentPane.add(lblNewLabel_1); + JLabel lblNewLabel = new JLabel("Ziel"); + lblNewLabel.setHorizontalAlignment(SwingConstants.CENTER); + lblNewLabel.setFont(new Font("Tahoma", Font.BOLD, 30)); + lblNewLabel.setBounds(809, 531, 67, 49); + contentPane.add(lblNewLabel); + }//end standardkonstruktor