This commit is contained in:
2024-05-04 18:38:56 +02:00
parent 9c54106892
commit d4df7ad880
2 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ import java.awt.*;
public class SudokuGridConcepteur extends JFrame {
private static final int GRID_SIZE = 9; // Taille de la grille Sudoku 9x9
private static final int REGION_SIZE = 3;
public static final boolean BOOL = true;
private static final int status = 1;
private JTextField[][] grid;
public SudokuGridConcepteur() {
@@ -62,7 +62,7 @@ public class SudokuGridConcepteur extends JFrame {
// Bouton pour chargé la grille
JButton load = new JButton("Charger");
LoadButton loader = new LoadButton(GRID_SIZE, grid);
LoadButton loader = new LoadButton(GRID_SIZE, grid, status);
load.addActionListener(loader);

View File

@@ -4,7 +4,7 @@ import java.awt.*;
public class SudokuGridJoueur extends JFrame {
private static final int GRID_SIZE = 9; // Taille de la grille Sudoku 9x9
private static final int REGION_SIZE = 3;
public static final boolean BOOL = false;
private static final int status = 2;
private JTextField[][] grid;
public SudokuGridJoueur() {
@@ -62,7 +62,7 @@ public class SudokuGridJoueur extends JFrame {
// Bouton pour chargé la grille
JButton load = new JButton("Charger");
LoadButton loader = new LoadButton(GRID_SIZE, grid);
LoadButton loader = new LoadButton(GRID_SIZE, grid, status);
load.addActionListener(loader);