Browse Source

[TikTakToeGame Class]: Class erstellt + libs + Konstruktor

remotes/origin/TikTakToeGame
fdai7431 2 years ago
parent
commit
825654d0c1
  1. 2
      JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java
  2. 34
      JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/TikTakToeGame.java

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

@ -122,7 +122,7 @@ public class GamelauncherMain extends JFrame {//class
public void actionPerformed(ActionEvent e) {
// TODO Auto-generated method stub
//TikTakToeGame frameTikTakToe = new TikTakToeGame();
TikTakToeGame frameTikTakToe = new TikTakToeGame();
//frameTikTakToe.setVisible(true);
}
});

34
JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/TikTakToeGame.java

@ -0,0 +1,34 @@
package de.hs_fulda.gruppenprojekt.JavaGamelauncher;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import java.awt.BorderLayout;
import java.awt.Color;
import javax.swing.JLabel;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.SwingConstants;
import java.awt.Font;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.FlowLayout;
import java.awt.CardLayout;
import javax.swing.GroupLayout;
import javax.swing.GroupLayout.Alignment;
import javax.swing.LayoutStyle.ComponentPlacement;
import javax.swing.JTextField;
public class TikTakToeGame {
public static void main(String[] args) {
// TODO Auto-generated method stub
}
public TikTakToeGame() {}//end
}
Loading…
Cancel
Save