From dddb3615e658f758120f9ce2b7606e386b17b264 Mon Sep 17 00:00:00 2001 From: fdai7382 Date: Thu, 19 Jan 2023 13:31:28 +0100 Subject: [PATCH] refactoring: [MouseGame Class]: Umbenennen des Ziellabels. --- .../gruppenprojekt/JavaGamelauncher/MouseGame.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 9c0d820..123ce33 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 @@ -57,11 +57,11 @@ public class MouseGame extends JFrame { labelStart.setBounds(10, 11, 83, 49); contentPane.add(labelStart); - 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); + JLabel labelZiel = new JLabel("Ziel"); + labelZiel.setHorizontalAlignment(SwingConstants.CENTER); + labelZiel.setFont(new Font("Tahoma", Font.BOLD, 30)); + labelZiel.setBounds(809, 531, 67, 49); + contentPane.add(labelZiel); JPanel panel = new JPanel(); panel.setBorder(new LineBorder(new Color(0, 0, 0), 2));