debut création d'une grille vide
This commit is contained in:
parent
4c0bdd73e7
commit
aacfec7e6e
BIN
Sudoku/grille.class
Normal file
BIN
Sudoku/grille.class
Normal file
Binary file not shown.
BIN
Sudoku/main.class
Normal file
BIN
Sudoku/main.class
Normal file
Binary file not shown.
BIN
Sudoku/menu$1.class
Normal file
BIN
Sudoku/menu$1.class
Normal file
Binary file not shown.
BIN
Sudoku/menu$2.class
Normal file
BIN
Sudoku/menu$2.class
Normal file
Binary file not shown.
BIN
Sudoku/menu$3.class
Normal file
BIN
Sudoku/menu$3.class
Normal file
Binary file not shown.
BIN
Sudoku/menu$4.class
Normal file
BIN
Sudoku/menu$4.class
Normal file
Binary file not shown.
BIN
Sudoku/menu$5.class
Normal file
BIN
Sudoku/menu$5.class
Normal file
Binary file not shown.
BIN
Sudoku/menu$6.class
Normal file
BIN
Sudoku/menu$6.class
Normal file
Binary file not shown.
BIN
Sudoku/menu.class
Normal file
BIN
Sudoku/menu.class
Normal file
Binary file not shown.
@ -2,6 +2,7 @@ import javax.swing.*;
|
||||
import java.awt.*;
|
||||
import java.awt.event.*;
|
||||
import java.io.*;
|
||||
import java.util.Arrays;
|
||||
|
||||
public class menu {
|
||||
|
||||
@ -84,9 +85,16 @@ public class menu {
|
||||
|
||||
editer.addActionListener(new ActionListener(){
|
||||
public void actionPerformed(ActionEvent e4){
|
||||
if (cheminFichier != null){
|
||||
int[][] grille_vide = new int[9][9];
|
||||
Arrays.fill(grille_vide, 0);
|
||||
fenetre.dispose();
|
||||
grille.AfficherGrille(grille_vide, true);
|
||||
}else{
|
||||
fenetre.dispose();
|
||||
grille.AfficherGrille(grille.ChargerGrille(cheminFichier), true);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
lancer.addActionListener(new ActionListener() {
|
||||
|
BIN
Sudoku/resolveurGrille.class
Normal file
BIN
Sudoku/resolveurGrille.class
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user