Hello everyone!
I have a long operation and a progress bar that should be updated
every second.
Long operation is an RPC, that retrieve a collection with some
information. I call another RPC to know the progress of my operation.
I have Timer subclass, where in void run() I get a progress. I do the
following:
...
retrieveCollection(); // RPC, retunrs immediatly
runTimer();
...
public void runTimer(){
new Timer {...}.scheduleRepeating(1000);
}
The problem is that void run() starts only after the long operation is
finished, though sheduleRepeating() executes almost immediatly (i.e.
there is a long delay between execution of scheduleRepeating() and
run()).
Can you help me somehow? I want to get information about operation
progress while it's executing.
Regards,
Hanna Varakhobava
--
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.