Plus besoin du test de la vue
This commit is contained in:
parent
3bd9aa0fdc
commit
6abd80a082
@ -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();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user