OSDN Git Service

fix: fix not applying window size properties
[delesterandomselector/DelesteRandomSelector.git] / src / com / ranfa / main / DelesteRandomSelector.java
index bbdcb8e..5611cf7 100644 (file)
@@ -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);