Swing frame not updating correctly

Printable View