OSDN Git Service

fix: fix not applying window size properties
authorhizumiaoba <56146205+hizumiaoba@users.noreply.github.com>
Thu, 6 Jan 2022 14:21:38 +0000 (23:21 +0900)
committerhizumiaoba <56146205+hizumiaoba@users.noreply.github.com>
Thu, 6 Jan 2022 14:21:38 +0000 (23:21 +0900)
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);