From 97fd7128359f820dcdc709235d0d288704cce8ee Mon Sep 17 00:00:00 2001 From: hizumiaoba <56146205+hizumiaoba@users.noreply.github.com> Date: Thu, 6 Jan 2022 23:21:38 +0900 Subject: [PATCH] fix: fix not applying window size properties --- src/com/ranfa/main/DelesteRandomSelector.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/ranfa/main/DelesteRandomSelector.java b/src/com/ranfa/main/DelesteRandomSelector.java index bbdcb8e..5611cf7 100644 --- a/src/com/ranfa/main/DelesteRandomSelector.java +++ b/src/com/ranfa/main/DelesteRandomSelector.java @@ -171,8 +171,8 @@ public class DelesteRandomSelector extends JFrame { this.setTitle(this.easter.getTodaysBirth()); this.logger.debug("Version: {}", CheckVersion.getVersion()); this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); - // this.setBounds(100, 100, this.property.getWindowWidth(), this.property.getWindowHeight()); - this.setBounds(100, 100, 640, 360); + this.setBounds(100, 100, this.property.getWindowWidth(), this.property.getWindowHeight()); + // this.setBounds(100, 100, 640, 360); this.contentPane = new JPanel(); this.contentPane.setBorder(new EmptyBorder(5, 5, 5, 5)); this.setContentPane(this.contentPane); -- 2.11.0