Swing verify code on event dispatch thread at runtime

Posted by Jeff Storey on Stack Overflow See other posts from Stack Overflow or by Jeff Storey
Published on 2010-06-10T13:48:46Z Indexed on 2010/06/10 13:52 UTC
Read the original article Hit count: 320

Filed under:
|
|

Are there any libraries that instrument code to verify that methods called on swing components are called on the event dispatch thread? It probably wouldn't be too difficult to write some basic code for doing this, but I'm sure there are edge cases and whatnot that other people have handled. I'm looking for this at runtime though, not for unit tests.

thanks, Jeff

© Stack Overflow or respective owner

Related posts about java

Related posts about swing