This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes question on  schedule  task Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "question on  schedule  task" Watch "question on  schedule  task" New topic

question on schedule task

alfred jones
Ranch Hand

Joined: Apr 19, 2005
Posts: 279
public void schedule(TimerTask task,long delay,long period)

i have confusion over these input params delay,period. not able to understand from the doc.

delay means ? after how much time the program will start execute ? am i right ?

period means ? if the period is 10 secs , say it will kill the running process and start over again from the begining ? am i right ?
I agree. Here's the link:
subject: question on schedule task
It's not a secret anymore!