943,741 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 8008
  • Java RSS
Aug 1st, 2004
0

Stop Watch

Expand Post »
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!!!!
Similar Threads
Reputation Points: 10
Solved Threads: 1
Newbie Poster
Bill T is offline Offline
14 posts
since Jul 2004
Aug 8th, 2004
0

Re: Stop Watch

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 ...
Team Colleague
Reputation Points: 45
Solved Threads: 56
Unauthenticated Liar
nanosani is offline Offline
1,767 posts
since Jul 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: help required for implementing project using JAVA & XML
Next Thread in Java Forum Timeline: Time-table Preparing





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC