schedule(i) calls cancel() so cancel() isn't necessary if you are
rescheduling
Ian

http://examples.roughian.com


2009/8/7 Rohit Bansal <[email protected]>

>
> No it is not same.
> timer.schedule(x); -- will not cancel previous timer if applied.
>
>  timer.cancel();
> > timer.schedule(x); -----> it will cancel previous timer if any
>
>
> On Aug 6, 9:11 pm, Radu Grigore <[email protected]> wrote:
> > Is { timer.schedule(x); } equivalent to { timer.cancel();
> > timer.schedule(x); } ?
>
> >
>

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