1.

Explain How To Access Ui Objects From A Non-ui Thread?

Answer»

To ACCESS UI objects from a non-ui THREAD, use command
Display.getDefault().asyncExec(NEW Runnable()…)
This will cause the run() method of the runnable to be INVOKED by the user-interface thread at the next reasonable opportunity.

To access UI objects from a non-ui thread, use command
Display.getDefault().asyncExec(new Runnable()…)
This will cause the run() method of the runnable to be invoked by the user-interface thread at the next reasonable opportunity.



Discussion

No Comment Found