What I mean is code like

Scheduler.get().scheduleDeferred(..... RootPanel.get().add(labelA); 
RootPanel.get().add(labelB); ...)
RootPanel.get().add(... labelC...)

will probably result in an UI:

labelC
labelA
labelB

because the deferred command is executed after any other code completes. 
But inside the command the code is executed in order. So when you wrap your 
whole work in such a command the work itself will be executed as normal but 
the execution itself will start later. 

Just be aware that code that executes after the code line that starts the 
command should not depend on the results of the command.

-- J.

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


Reply via email to