954,541 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Stop Watch

Hi Again,
Im writing a program of a version of stop watch that uses a varible instance
also callcount must be used and start at 10 everytime called decreases by one until zero then messgae displayed.

Can someone help me please!!!!

Bill T
Newbie Poster
14 posts since Jul 2004
Reputation Points: 10
Solved Threads: 1
 

if you are using swing components ....then try using this ...

Timer t = new Timer(ActionListener, delay);

and if you use the java.util.Timer class ... then try this ...

Timer t = new Timer();

a rough Algo for your program

INITIALIZE THE TIMER
FOR LOOP DECREASING VALUES UNTIL ZERO
DO WHAT YOU WANT TO DO ...

nanosani
Unauthenticated Liar
Team Colleague
1,830 posts since Jul 2004
Reputation Points: 45
Solved Threads: 56
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You