Font size

This commit is contained in:
Imbus 2023-12-12 23:52:47 +01:00
parent b02e846ec6
commit 072da88135

View file

@ -45,7 +45,7 @@ public class SudokuView extends JFrame {
JPanel gridPanel = new JPanel(new GridLayout(9, 9));
gridPanel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
int fontSize = 16;
int fontSize = 24;
String fontName = gridPanel.getFont().getName();
Border border = BorderFactory.createLineBorder(Color.BLACK);
Font font = new Font(fontName, Font.BOLD, fontSize);