modification couleur de fond
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user