Javascript is single threaded, so you shouldn't do too much in one go.

You can use Scheduler.get().scheduleIncremental(repeatingCmd) to do some work 
in pieces. If the problem is that it's slow while dealing with large RPC 
messages, then you may need smaller messages.

HTH
Paul

On 02/11/11 09:57, tanteanni wrote:
At the start of my App the Browser has to load some stuff and create some data objects 
(Trees). The Problem is, that this blocks the the whole browser (no tab switching no 
reaction on user interactions, even my animated loading.gif is not loaded/animated). In 
swing applications the is a "SwingWorker" to keep the ui running - for example 
to display a progress bar.
But how to achieve this with GWT? My guess is to use Scheduler some how?! I 
want to get the loading more in background and keep the browser more 
responsive. But how to do this?


thx in advance


--
You received this message because you are subscribed to the Google Groups "Google 
Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to