pack() makes JDialog too small

Printable View