Plus besoin du test de la vue

This commit is contained in:
Justine Yannis 2022-10-20 09:09:29 +02:00
parent 3bd9aa0fdc
commit 6abd80a082

View File

@ -1,27 +0,0 @@
package fr.iutfbleau.projetAgile.View;
import javax.swing.*;
import java.awt.*;
import fr.iutfbleau.projetAgile.Controller.GrilleMouseListener;
import fr.iutfbleau.projetAgile.Model.GrilleModel;
public class TestGrille extends JFrame{
public TestGrille() {
super("Puissance 4");
this.setLayout(new FlowLayout());
Grille g = new Grille();
GrilleModel gm = new GrilleModel();
GrilleMouseListener listener = new GrilleMouseListener(g, gm);
this.add(new Menu());
this.add(g);
this.setLocation(200, 200);
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this.setSize(new Dimension(1280,720));
this.setVisible(true);
}
public static void main(String[] args) {
TestGrille v = new TestGrille();
}
}