I've a timer in my EntryPoint doing some code every 5 second:
Timer timer = new Timer();
timer.schedule(
new TimerTask() {
public void run() {
//do something
}
}
, 5000);
But when compiling I got this error:
No source code is available for type java.util.Timer; did you forget
to inherit a required module?
What to do?
--
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.