Browse Source

[GamelauncherMain Class]: Button Initialisiert

remotes/origin/textadventure
fdai7431 2 years ago
parent
commit
71f3b2a680
  1. 6
      JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java

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

@ -3,6 +3,7 @@ package de.hs_fulda.gruppenprojekt.JavaGamelauncher;
import java.awt.Color; import java.awt.Color;
import java.awt.EventQueue; import java.awt.EventQueue;
import javax.swing.JButton;
import javax.swing.JFrame; import javax.swing.JFrame;
import javax.swing.JPanel; import javax.swing.JPanel;
import javax.swing.border.EmptyBorder; import javax.swing.border.EmptyBorder;
@ -62,6 +63,11 @@ public class GamelauncherMain extends JFrame {//class
contentPane.setForeground(Color.GRAY); contentPane.setForeground(Color.GRAY);
contentPane.setBackground(Color.DARK_GRAY); contentPane.setBackground(Color.DARK_GRAY);
JButton btnSnake = new JButton("Snake Starten");
JButton btnMouse = new JButton("Mouse Starten");
JButton btnTikTakToe = new JButton("TikTakToe Starten");
JButton btnTextadventure = new JButton("Textadventure Starten");
}//end standardkonstruktor }//end standardkonstruktor
}//end class }//end class
Loading…
Cancel
Save