Which Swing component methods are thread-safe and not required to run in the event dispatch thread?

John Zukowski

The repaint(), revalidate(), and invalidate() methods do not need to execute in the event dispatch thread (also known as the AWT thread). Any other methods which affect the state of a component must execute in the event dispatch thread.

About | Sitemap | Contact