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 1090ea1..94ad3a6 100644 Binary files a/OOP_1A2_Project/bin/windowInterface/JPanelChessBoard.class and b/OOP_1A2_Project/bin/windowInterface/JPanelChessBoard.class differ 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