Font size
This commit is contained in:
parent
b02e846ec6
commit
072da88135
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ public class SudokuView extends JFrame {
|
||||||
JPanel gridPanel = new JPanel(new GridLayout(9, 9));
|
JPanel gridPanel = new JPanel(new GridLayout(9, 9));
|
||||||
gridPanel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
|
gridPanel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
|
||||||
|
|
||||||
int fontSize = 16;
|
int fontSize = 24;
|
||||||
String fontName = gridPanel.getFont().getName();
|
String fontName = gridPanel.getFont().getName();
|
||||||
Border border = BorderFactory.createLineBorder(Color.BLACK);
|
Border border = BorderFactory.createLineBorder(Color.BLACK);
|
||||||
Font font = new Font(fontName, Font.BOLD, fontSize);
|
Font font = new Font(fontName, Font.BOLD, fontSize);
|
||||||
|
|
Loading…
Reference in a new issue