title: What does SwingUtilities.invokeLater do?
body: <p>What does <code>SwingUtilities.invokeLater</code> do? Is it just delaying the execution of a block of codes inside its <code>run</code> method? What is the difference between calling an action within the <code>invokeLater</code> function or simply calling it at the end of the thread we want to be executed? Can anyone help me with what really does the <code>invokeLater</code> function do?</p>