From 378ef72efc17e88d0702103874bf6857513a13ac Mon Sep 17 00:00:00 2001 From: gabrielshiraishi Date: Thu, 1 May 2025 15:38:34 +0200 Subject: [PATCH] Change of background color --- OOP_2B1_Project/src/windowInterface/JPanelChessBoard.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OOP_2B1_Project/src/windowInterface/JPanelChessBoard.java b/OOP_2B1_Project/src/windowInterface/JPanelChessBoard.java index 5bc159f..ac914c6 100644 --- a/OOP_2B1_Project/src/windowInterface/JPanelChessBoard.java +++ b/OOP_2B1_Project/src/windowInterface/JPanelChessBoard.java @@ -80,7 +80,7 @@ public class JPanelChessBoard extends JPanel { @Override protected void paintComponent(Graphics g) { super.paintComponent(g); - this.setBackground(new Color(115, 149, 82)); + this.setBackground(new Color(238,236,208)); if(pieceSelectorMode) { g.drawImage( spriteSheet, @@ -97,7 +97,7 @@ public class JPanelChessBoard extends JPanel { float cellWidth = cellWidth(); float cellHeight = cellHeight(); - g.setColor(new Color(238,236,208)); + g.setColor(new Color(115, 149, 82)); for(int x=0; x