From e9aebb43b858f744faee92b801acd433a21fb416 Mon Sep 17 00:00:00 2001 From: fdai7012 Date: Thu, 8 Feb 2024 00:06:10 +0100 Subject: [PATCH] adjusted window size --- src/main/java/pacmanGame/Program.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/pacmanGame/Program.java b/src/main/java/pacmanGame/Program.java index da7b37c..1fce1a6 100644 --- a/src/main/java/pacmanGame/Program.java +++ b/src/main/java/pacmanGame/Program.java @@ -54,7 +54,7 @@ public class Program { frame = new JFrame("PacmaaaAAAYYYHAAAaaam"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); - frame.setSize(500, 685); + frame.setSize(750, 950); textArea = new JTextArea("..."); textArea.setEditable(false); @@ -62,7 +62,7 @@ public class Program { textArea.setBackground(Color.black); textArea.setForeground(Color.blue); - Font font = new Font("Consolas", Font.PLAIN, 15); + Font font = new Font("Consolas", Font.PLAIN, 10); textArea.setFont(font); frame.add(textArea, BorderLayout.CENTER);