Thanks for the information! 2011/7/12 Greg Brown <[email protected]>
> Correct. Any time you execute code on a non-UI thread, you need to queue a > callback. TaskAdapter just handles that for you when you are working with a > Task. > > If you have worked with Swing at all, the concept is the same as > SwingUtilities.invokeLater(). > > On Jul 12, 2011, at 3:13 PM, SYSE | Edvin wrote: > > > Den 12.07.2011 21:10, skrev Edgar Merino: > >> Ok, but what happens if I need a Runnable that modifies/updates some > >> parts of the GUI? wouldn't this cause problems if the operation doesn't > >> run in the UI Thread? > > > > Then you just wrap that explicit part in a > ApplicationContext.queueCallback(runnable) call. > > > > -- Edvin > >
