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.