So , if I want to force some delay I can use Tmer's schedule method .isn't it ?
On Mon, Apr 5, 2010 at 11:20 AM, kozura <koz...@gmail.com> wrote: > Plenty of examples under the Timer documentation > > http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsDelayed.html > . > You never "sleep", which in java stops all activity in a thread, but > instead set up an action which asynchronously occurs in the future. > > On Apr 4, 11:00 pm, Tapas Adhikary <tapas4...@gmail.com> wrote: > > Hi All, > > > > I would like to show an image for the specified time in the UI. I need to > > give an good amount of delay between user action and the next UI > refresh.In > > GWT, I am looking for something like a Thread.sleep(SPECIFIED_TIME) as > it > > is in Java. Is there any similar method exist to achieve ? I know there > is > > something called Timer , but can anybody help me with code to demonstrate > > how it works ? > > > > Thanks in advance , > > -Tapas > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.