From 072da881351f018152ebe1f189ee802b2ffba103 Mon Sep 17 00:00:00 2001 From: Imbus Date: Tue, 12 Dec 2023 23:52:47 +0100 Subject: [PATCH] Font size --- app/src/main/java/gui/SudokuView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/gui/SudokuView.java b/app/src/main/java/gui/SudokuView.java index 478aed5..da09ec7 100644 --- a/app/src/main/java/gui/SudokuView.java +++ b/app/src/main/java/gui/SudokuView.java @@ -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);