diff --git a/SudokuDraw.class b/SudokuDraw.class index 2872e91..76be348 100644 Binary files a/SudokuDraw.class and b/SudokuDraw.class differ diff --git a/SudokuDraw.java b/SudokuDraw.java index 8e391af..1e60d57 100644 --- a/SudokuDraw.java +++ b/SudokuDraw.java @@ -15,19 +15,7 @@ public class SudokuDraw extends JPanel { @Override protected void paintComponent(Graphics g) { - super.paintComponent(g); - - // Dessiner des lignes plus épaisses pour la grille 3x3 - g.setColor(Color.BLACK); - for (int i = 0; i <= GRID_SIZE * REGION_SIZE; i++) { - if (i % REGION_SIZE == 0) { - g.fillRect(0, i * CELL_SIZE - 2, GRID_SIZE * REGION_SIZE * CELL_SIZE, 4); - g.fillRect(i * CELL_SIZE - 2, 0, 4, GRID_SIZE * REGION_SIZE * CELL_SIZE); - } else { - g.fillRect(0, i * CELL_SIZE - 1, GRID_SIZE * REGION_SIZE * CELL_SIZE, 2); - g.fillRect(i * CELL_SIZE - 1, 0, 2, GRID_SIZE * REGION_SIZE * CELL_SIZE); - } - } + super.paintComponent(g); // Dessiner les valeurs de la grille g.setColor(Color.BLACK);