Setting JFrame maximum size that pack() can not violate

Printable View