Timer timer = new Timer(){
public void run(){
//execute your task here
}
};
timer.schedule(10000);//sleep 1 second
or use DeferredCommand and IncrementCommand. check it on gwt document.
Sammi
http://code.google.com/p/openorg
On Thu, Nov 6, 2008 at 6:29 AM, Anurag Tripathi <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Can we call Sleep( ) or wait( ) method for some busy waiting inside
> valueChangedListener without any threads?
> Please let me know if anybody has idea on this.
>
> Thanks
> _Anurag
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---