Darren HobbsDarren's take on open source, agile methods, technology and anything else that springs to mind.SwingHelper- May 5, 2008 One of the most common causes of sporadic bugs in swing applications is doing things on the wrong thread. Most common of these is when a thread that is not the Event Dispatch Thread does something that updates the gui. Its very easy to do accidentally as seemingly innocent operations done on a background thread can fire off event listeners and end up inside code it shouldn't as a result. CheckThreadViolationRepaintManager from the SwingHelper project is a very useful class that can be easily..http://www.darrenhobbs.com/archives/2008/05/swinghelper.html |