Set minimum size for windows
This commit is contained in:
parent
92510cdaa2
commit
7a5fcb010e
2 changed files with 2 additions and 1 deletions
|
@ -65,6 +65,7 @@ public class ModPatchDialog extends JDialog implements ActionListener, ModPatchO
|
|||
getContentPane().add( continueHolder, BorderLayout.SOUTH );
|
||||
|
||||
this.setSize( 400, 160 );
|
||||
this.setMinimumSize( this.getPreferredSize() );
|
||||
this.setLocationRelativeTo( owner );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue