So basically I create a JFrame and it's contents, then I hide it.
I then open it, and run some memory-intensive file-opening afterwards.
My problem is that the JFrame's contents don't load until after the logic is complete (all I see is the JFrame's box filled with white).
How can I make sure the JFrame updates it's display properly before running the logic without using threads?

