Dennis Madsen
2009-12-14 11:21:08 UTC
I'm trying to have a Java Timer in my EntryPoint:
Timer timer = new Timer();
timer.schedule(
new TimerTask() {
public void run() {
//some code
}
}
, 5000);
But when trying to compile this I got:
No source code is available for type java.util.Timer; did you forget
to inherit a required module?
No source code is available for type java.util.TimerTask; 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 google-web-toolkit-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Timer timer = new Timer();
timer.schedule(
new TimerTask() {
public void run() {
//some code
}
}
, 5000);
But when trying to compile this I got:
No source code is available for type java.util.Timer; did you forget
to inherit a required module?
No source code is available for type java.util.TimerTask; 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 google-web-toolkit-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.