There are lots of ways to perform work in the background in a Java app, but 
creating a Task as shown in the tutorial is probably a good way to start. And 
yes,  you just need to make sure that you post callbacks to the UI thread using 
queueCallback().

G

On Mar 10, 2011, at 8:23 AM, lello wrote:

> Thanks Chris and Greg,
> 
> I must be blind...I completely missed the example in the tutorial.
> 
> So, to summarize, if I want to exectue a task in background I can use the
> lines suggested by the asynchronous execution example, and if I want to
> update some UI component from the background task (the child thread) I must
> use the ApplicationContext.queueCallback(), is that right?
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://apache-pivot-users.399431.n3.nabble.com/progress-bar-question-tp2659440p2660355.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to