This commit is contained in:
Balthazar SQUINABOL 2024-05-29 14:30:21 +02:00
parent 8cd282c8c6
commit d82ea33bd8
2 changed files with 2 additions and 9 deletions

View File

@ -71,13 +71,6 @@ public class JPanelDraw extends JPanel {
} else { } else {
g.setColor(Color.white); g.setColor(Color.white);
} }
if(cellContent == 2) {
g.setColor(Color.yellow); //set collor with rgb value (255,255,0)
//g.setColor(new Color(255,255,0));
}
if(cellContent == 3) {
g.setColor(Color.red);
}
g.fillRect( g.fillRect(
(int) Math.round(x*cellWidth), (int) Math.round(x*cellWidth),
(int) Math.round(y*cellHeight), (int) Math.round(y*cellHeight),