Thread is not part of java that is emulated in GWT. Javascript is  
single threaded so thread.sleep() has no meaning, you might as well do  
while(true);  (I don't actually suggest doing that)

What is it that you are trying to accomplish with Thread.sleep()?

-jason

On May 28, 2009, at 10:37 AM, Adil Ben wrote:

>
> Hello,
>
> I need to call the method Thread.sleep() in my GWT code. But GWT does
> not integrate this class.
> How to solve this?
>
> i get the following error
> "No source code is available for type java.lang.Thread; did you
> forget to inherit a required module?"
>
> Regards.
>
> >


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to