Browse Source

[GamelauncherMain Class]: Setzen von Vorder- und Hintergrundfarben.

remotes/origin/textadventure
fdai7382 2 years ago
parent
commit
bd19a4077c
  1. 5
      JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java

5
JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java

@ -1,5 +1,6 @@
package de.hs_fulda.gruppenprojekt.JavaGamelauncher; package de.hs_fulda.gruppenprojekt.JavaGamelauncher;
import java.awt.Color;
import java.awt.EventQueue; import java.awt.EventQueue;
import javax.swing.JFrame; import javax.swing.JFrame;
@ -60,6 +61,10 @@ public class GamelauncherMain extends JFrame {
setContentPane(contentPane); setContentPane(contentPane);
contentPane.setLayout(null); contentPane.setLayout(null);
setForeground(Color.GRAY);
setBackground(Color.DARK_GRAY);
contentPane.setForeground(Color.GRAY);
contentPane.setBackground(Color.DARK_GRAY);
} }

Loading…
Cancel
Save