Thanks, its working fine now... On Mon, Nov 10, 2008 at 5:21 PM, Sirisha <[EMAIL PROTECTED]> wrote:
> Hi, > > Can we have a kind of sleep( ) or wait( ) delays inside my ONMOUSEOUT > event without any threads? I want to call my collapsing method to > perform something like collapsing onmouseout event after few seconds. > > I tried to use timer in the following way, but it didnt help: > case Event.ONMOUSEOUT: > Timer timer = new Timer(){ > public void run(){ > formCollapsedState() > } > }; > timer.schedule(10000); > timer.run(); > > Please let me know if anybody has idea on this. > > Thanks > Sirisha > > > --~--~---------~--~----~------------~-------~--~----~ 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-Toolkit@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---