Greg Brown <[email protected]> wrote:

1. What is the recommended way if a background Task wants to update the gui?
Use EventQueue.invokeLater(Runnable) ?

Call ApplicationContext.queueCallback().

Ah, thanks, I wasn't aware of that.

2. org.apache.pivot.util.concurrent.Dispatcher spawns a new thread for each task and looks rather unfinished.

You are correct that Dispatcher needs some additional work - we are tracking it in this ticket:

https://issues.apache.org/jira/browse/PIVOT-35

Ok, I'll continue the discussion there, then.

Dirk.


Reply via email to