From 978d7db836138adc4f174d477bc77d59511fa129 Mon Sep 17 00:00:00 2001 From: Admin Date: Thu, 22 May 2025 20:59:56 +0200 Subject: [PATCH] black to white --- OOP_1A2_Project/bin/.gitignore | 1 + .../windowInterface/JPanelChessBoard.class | Bin 5339 -> 5339 bytes .../src/windowInterface/JPanelChessBoard.java | 4 ++-- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/OOP_1A2_Project/bin/.gitignore b/OOP_1A2_Project/bin/.gitignore index 6d0c385..5c7ebe3 100644 --- a/OOP_1A2_Project/bin/.gitignore +++ b/OOP_1A2_Project/bin/.gitignore @@ -1 +1,2 @@ /backend/ +/windowInterface/ diff --git a/OOP_1A2_Project/bin/windowInterface/JPanelChessBoard.class b/OOP_1A2_Project/bin/windowInterface/JPanelChessBoard.class index 1090ea18b31d8a90911cef29e1b09c185b88af75..94ad3a612b07c6a5f405cc65a84fa8f72ec8218d 100644 GIT binary patch delta 36 scmcbud0TVCa~9U}jLeeM&2Lzw7+I5Y5|gtxbF+zaFs5!+=G(yr00@-~bpQYW delta 36 scmcbud0TVCa~9U5oW$hp&2Lzw7+K3RGD}i7bF+zaFg9;i=G(yr00+GclK=n! diff --git a/OOP_1A2_Project/src/windowInterface/JPanelChessBoard.java b/OOP_1A2_Project/src/windowInterface/JPanelChessBoard.java index 78a68de..a6f4b80 100644 --- a/OOP_1A2_Project/src/windowInterface/JPanelChessBoard.java +++ b/OOP_1A2_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(Color.black); + this.setBackground(Color.white); if(pieceSelectorMode) { g.drawImage( spriteSheet, @@ -97,7 +97,7 @@ public class JPanelChessBoard extends JPanel { float cellWidth = cellWidth(); float cellHeight = cellHeight(); - g.setColor(Color.white); + g.setColor(Color.black); for(int x=0; x