Compare commits

...

2 commits

Author SHA1 Message Date
Imbus
6ae83248ef Merge branch 'dogge' 2023-12-12 23:11:20 +01:00
dDogge
f8adb7402e Bold text added 2023-12-12 23:11:04 +01:00

View file

@ -49,7 +49,10 @@ public class SudokuView extends JFrame {
if ((row / 3 + col / 3) % 2 == 1) {
grid[row][col].setBackground(Color.LIGHT_GRAY);
}
Font boldFont = new Font(grid[row][col].getFont().getName(), Font.BOLD, grid[row][col].getFont().getSize());
grid[row][col].setFont(boldFont);
grid[row][col].setForeground(Color.BLACK);
gridPanel.add(grid[row][col]);
}
}