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 0b0ee5f..8ac9a7e 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,5 +1,6 @@ package de.hs_fulda.gruppenprojekt.JavaGamelauncher; +import java.awt.Color; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; @@ -40,7 +41,11 @@ public class MouseGame extends JFrame { setContentPane(contentPane); contentPane.setLayout(null); - + setForeground(Color.GRAY); + setBackground(Color.DARK_GRAY); + contentPane.setForeground(new Color(0, 0, 0)); + contentPane.setBackground(new Color(128, 128, 128)); + }//end standardkonstruktor