Anntoation: @EventDispatchThread
Hi,
at the moment I try to integrate some Swing stuff into Eclipse. And yes
- I have been caught into the Swt-Swing-thread-hell.
What do you guys think about some sort of "@EventDispatchThread"
annotation for methods that indicates that this method must only called
within the EDT?
The compiler could add assertions automatically...
Johannes Schneider
Please sign in to leave a comment.
Might be worth looking at:
http://weblogs.java.net/blog/alexfromsun/archive/2006/02/debugging_swing.html
We've added a plain utility method for that and are happy.