ok
This commit is contained in:
parent
b28b1e4ffe
commit
6f7dd612b8
@ -10,13 +10,11 @@ import fr.iutfbleau.projetAgile.View.Menu;
|
||||
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
JFrame frame = new JFrame();
|
||||
JFrame frame = Menu.getFrame();
|
||||
frame.setLocation(200, 200);
|
||||
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
frame.setSize(new Dimension(1280,720));
|
||||
CardLayout cd=new CardLayout();
|
||||
frame.setLayout(cd);
|
||||
Menu menu=new Menu(cd, frame);
|
||||
JPanel menu=Menu.InitMenu();
|
||||
Grille g = new Grille();
|
||||
GrilleModel m = new GrilleModel();
|
||||
Puissance4Controller p = new Puissance4Controller(g, m);
|
||||
|
Loading…
Reference in New Issue
Block a user