pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edgar Merino <donvo...@gmail.com>
Subject Re: Task countdown and Labels
Date Fri, 15 Jul 2011 23:26:10 GMT
Thanks for the information!

2011/7/12 Greg Brown <gk_brown@verizon.net>

> 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
>
>

Mime
View raw message