From 139ae2c07d67626d79d1f8fc4a3c5d03bd301213 Mon Sep 17 00:00:00 2001 From: aelga Date: Fri, 16 May 2025 11:46:33 +0200 Subject: [PATCH] Color change --- src/windowInterface/JPanelChessBoard.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/windowInterface/JPanelChessBoard.java b/src/windowInterface/JPanelChessBoard.java index d74d277..07da72e 100644 --- a/src/windowInterface/JPanelChessBoard.java +++ b/src/windowInterface/JPanelChessBoard.java @@ -80,7 +80,7 @@ public class JPanelChessBoard extends JPanel { @Override protected void paintComponent(Graphics g) { super.paintComponent(g); - this.setBackground(Color.blue); + this.setBackground(new Color(135,86,59)); if(pieceSelectorMode) { g.drawImage( spriteSheet, @@ -97,16 +97,16 @@ public class JPanelChessBoard extends JPanel { float cellWidth = cellWidth(); float cellHeight = cellHeight(); - g.setColor(Color.white); + g.setColor(new Color(214,196,153)); for(int x=0; x