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.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.