Simple tool for finding Swing threading mistakes

Aug 24, 2004 19:42 · 55 words · 1 minute read

Scott Delap provides a nice, simple way to Easily Find Swing Threading Mistakes. It involves a replacement RepaintManager that confirms that repaints are all taking place on the Swing event dispatch thread. Nice solution.

(You’ll note from the comments and the followup article that this solution isn’t perfect… but that doesn’t mean it’s not useful!)