Creating an infinite loop in java

Associate
Joined
30 Jul 2007
Posts
996
Location
Surrey
Hi,

Basically im new to programming and as part of my course at uni i have to code a graphical clock.

I have done everything (and checked it works) except for managing a infinite loop bit of code so that upon starting the clock the following lines of code (for the minute hand continually repeat themselves:

clock.wait(60000);
minutes.rotate(6);

Any help/advice would be greatly appreciated :)
 
Back
Top Bottom