From 3a69b8428ed0c3d4b573c487c1b23610509550b1 Mon Sep 17 00:00:00 2001 From: keraudre Date: Mon, 29 Apr 2024 17:22:25 +0200 Subject: [PATCH] modification couleur de fond --- SudokuGrid.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SudokuGrid.java b/SudokuGrid.java index 0fcfb5b..2e3a3c1 100644 --- a/SudokuGrid.java +++ b/SudokuGrid.java @@ -10,7 +10,7 @@ public class SudokuGrid extends JFrame { // Panneau pour la grille Sudoku JPanel gridPanel = new JPanel(); gridPanel.setLayout(new GridLayout(GRID_SIZE, GRID_SIZE)); // Utiliser GridLayout - gridPanel.setBackground(Color.green); // Fond vert + gridPanel.setBackground(Color.black); // Fond vert // Initialiser la grille grid = new JTextField[GRID_SIZE][GRID_SIZE]; @@ -29,8 +29,8 @@ public class SudokuGrid extends JFrame { // Panneau pour les boutons JPanel bouton = new JPanel(); - bouton.setBackground(new Color(0, 255, 0)); // Fond vert - bouton.setPreferredSize(new Dimension(100, 0)); // Espace pour les boutons + bouton.setBackground(new Color(88, 169, 191)); // Fond vert + bouton.setPreferredSize(new Dimension(150, 0)); // Espace pour les boutons // Bouton pour sauvegarder la grille JButton save = new JButton("Sauvegarder");