popup: fix undecorated
authorNiki Roo <niki@nikiroo.be>
Sat, 2 May 2020 11:16:34 +0000 (13:16 +0200)
committerNiki Roo <niki@nikiroo.be>
Sat, 2 May 2020 11:16:34 +0000 (13:16 +0200)
src/be/nikiroo/fanfix_swing/gui/PropertiesFrame.java

index bca3ecfa680418bb9149167d168f3933f6298965..f741d69c072aa0f3a146e8e8aa37715b0494ac52 100644 (file)
@@ -40,8 +40,8 @@ public class PropertiesFrame extends JDialog {
                setLayout(new BorderLayout());
                add(desc, BorderLayout.NORTH);
 
-               this.setUndecorated(undecorated);
                this.setSize(600, desc.getHeight() + 0);
+               this.setUndecorated(undecorated);
        }
 
        @Override