Files
fooling-arround-in-java/ConnectFour/src/Executor.java
Simon 818786cfba Trying to animate the filling of the board.
This is just for educational purposes and at no means necessary for the game.
Yeah I'm pretty productive LOL
2020-07-27 00:52:42 +02:00

27 lines
582 B
Java

import javax.swing.*;
public class Executor extends JFrame {
public Executor(){
initUI();
}
private void initUI(){
Panel panel = new Panel();
add(panel);
pack();
setDefaultCloseOperation(EXIT_ON_CLOSE);
setLocationRelativeTo(null);
}
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
Executor executor = new Executor();
executor.setVisible(true);
}
});
}
}