That's quite a good idea, though, how would you configure the code that 
checks that we're in the appropriate thread? As far as I can tell this 
requires unique code for all GUI frameworks (which fortunately mostly means 
just 2: Swing, and SWT, and SWT mostly does its own checks already). For 
logging we had a similar issue and we solved it by creating a unique 
annotation for each logging framework we support, thus binding the 
implementation of the check to the annotation you actually use.

I'm like it so much that I might just be convinced to add this to 0.10.1 :P

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/javaposse/-/QmNvOGp3UndMT1FK.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to