java - Using thread Executors in SWT? -


is there way manage (start/stop) threads using executors / threadpools within swt app? threads need update ui thread changes can reflected when / done. possible? display.asyncexec() takes runnable thread option, i'm not sure how best accomplish this.

just create runnable want in thread:

display.getdefault().asynchexec(new runnable() {     public void run()     {        ... code update ui here     } }); 

Comments