added some basic classes

This commit is contained in:
Dorian Zedler 2020-02-05 15:01:40 +01:00
parent b245353ac0
commit 3622d03612
3 changed files with 60 additions and 0 deletions

View file

@ -0,0 +1,28 @@
package de.itsblue.ConnectFour;
import java.awt.Dimension;
import javax.swing.JFrame;
public class ConnectFour extends JFrame {
/**
*
*/
private static final long serialVersionUID = 1L;
ConnectFour() {
// Constructor
// initialize window
this.setDefaultCloseOperation(EXIT_ON_CLOSE);
this.setPreferredSize(new Dimension(600,600));
// finish up
this.pack();
this.setVisible(true);
}
public static void main(String[] args) {
System.out.println(new ConnectFour());
}
}

View file

@ -0,0 +1,16 @@
package de.itsblue.ConnectFour;
import javax.swing.JPanel;
public class GameBoard extends JPanel {
/**
*
*/
private static final long serialVersionUID = 1L;
GameBoard() {
}
}

View file

@ -0,0 +1,16 @@
package de.itsblue.ConnectFour;
import javax.swing.JPanel;
public class Plate extends JPanel {
/**
*
*/
private static final long serialVersionUID = 1L;
Plate() {
}
}