taking JFrame title into account when calling pack()

Printable View