Browse Source

adjusted window size

remotes/origin/visualizer
fdai7012 11 months ago
parent
commit
e9aebb43b8
  1. 4
      src/main/java/pacmanGame/Program.java

4
src/main/java/pacmanGame/Program.java

@ -54,7 +54,7 @@ public class Program {
frame = new JFrame("PacmaaaAAAYYYHAAAaaam"); frame = new JFrame("PacmaaaAAAYYYHAAAaaam");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(500, 685);
frame.setSize(750, 950);
textArea = new JTextArea("..."); textArea = new JTextArea("...");
textArea.setEditable(false); textArea.setEditable(false);
@ -62,7 +62,7 @@ public class Program {
textArea.setBackground(Color.black); textArea.setBackground(Color.black);
textArea.setForeground(Color.blue); textArea.setForeground(Color.blue);
Font font = new Font("Consolas", Font.PLAIN, 15);
Font font = new Font("Consolas", Font.PLAIN, 10);
textArea.setFont(font); textArea.setFont(font);
frame.add(textArea, BorderLayout.CENTER); frame.add(textArea, BorderLayout.CENTER);

Loading…
Cancel
Save