Set minimum size for windows

This commit is contained in:
Vhati 2013-08-21 23:01:21 -04:00
parent 92510cdaa2
commit 7a5fcb010e
2 changed files with 2 additions and 1 deletions

View file

@ -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 );
}