Dynamically changing JPanel in a JScrollPane - incorrect sizing

Printable View