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!!!!

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 ...

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.