• Post Reply Bookmark Topic Watch Topic
  • New Topic

timer  RSS feed

 
Divya Venkatesh
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am Designing a Student Quiz System where I have to Time the Quiz.
All my timer has to do is Start off when the Quiz starts ans return to the main program when hte timer Expires may be after 2 minutes or so.
Can anyone give me Tips or suggestions on how to do this
thanks a lot in advance,
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Divya,
have you tried looking into using Timer and TimerTask classes to achieve this?
i guess that would help you. please have a look at the API for this classes. also, you can find a SUN Tutorial at,
How to use Timer and TimerTask
hope this helps you. if you have difficulties then i can try writing some stuff and help you.
regards,
maulin
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!