Problem resizing JPanel on window resize

Printable View