Bold text added
This commit is contained in:
parent
9f25270371
commit
f8adb7402e
1 changed files with 4 additions and 1 deletions
|
@ -50,6 +50,9 @@ public class SudokuView extends JFrame {
|
|||
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]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue