invokelater

Why does InvokeLater cause my JFrame not to display correctly?

Ok I've read an searched all over the web, and I've not found the solution to my problem yet, perhaps I'm missing something simple, hence here I am... I've got a rather large project, that handles work orders for a repair business. It's all database connected, many many pages of code, and classes. But i just added a short bit of code to...

Can anybody explain to me this short code, please?

I have trouble understanding this simple code: javax.swing.SwingUtilities.invokeLater(new Runnable() { public void run() { createAndShowGUI(); } }); Can anybody please explain me how it works (in simple terms because I am a newbie)? This short code is a part of this larger code. To be more specific, I have the following q...