JFrame not rendering until logic is complete

Printable View