SwingUtilities.invokeLater

FadelMS picture FadelMS · Aug 25, 2011 · Viewed 34k times · Source

My question is related to SwingUtilities.invokeLater. When should I use it? Do I have to use each time I need to update the GUI components? What does it exactly do? Is there an alternative to it since it doesn't sound intuitive and adds seemingly unnecessary code?

Answer

aioobe picture aioobe · Aug 25, 2011

Do I have to use each time I need to update the GUI components?