hi, i have searched online and can't seem to find something I understand for a timer. I have a boggle game that needs to have a 3 minute counter so I figured I'd have a countdown from 3 minutes...but the only thing I've found in other peoples codes and the api is the Timer class but I think I don't understand it because it wants a task and all I really want is the timer and I would have a method in there that checks it and when its zero, the game is over. Or maybe the task could be to send a message to another method in a different class that tells the game to end....but I just need someone to explain the Timer class in dummy terms for me...please
carinlynchin
0
Newbie Poster
Recommended Answers
Jump to Postwhich Timer
1/ java.util.Timer
2/ java.swing.Timer
All 3 Replies
mKorbel
274
Veteran Poster
mKorbel
274
Veteran Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.