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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to