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

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

c++ - Clear the memory after returning a vector in a function -

erlang - Saving a digraph to mnesia is hindered because of its side-effects -