From 7bb0ce71e1e349b525f7aebcc828e8ec42136e68 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Wed, 30 Nov 2022 22:40:11 -0600 Subject: [PATCH] #1 Co-authored-by: sigonasr2 --- src/sig/engine/Panel.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/sig/engine/Panel.java b/src/sig/engine/Panel.java index fee3dda..276abc5 100644 --- a/src/sig/engine/Panel.java +++ b/src/sig/engine/Panel.java @@ -85,8 +85,6 @@ public class Panel extends JPanel implements Runnable,KeyListener { f.add(p); f.addKeyListener(p); - f.setLocation((int) ((Toolkit.getDefaultToolkit().getScreenSize().getWidth() - f.getWidth()) / 2), - (int) ((Toolkit.getDefaultToolkit().getScreenSize().getHeight() - f.getHeight()) / 2)); f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); f.setVisible(true);