Sounds like a counting loop to me.
Here is (yet another) test applet:
// assume that the drawing area is 200 by 200 public class TestCircle10 extends JApplet { Circle circ = new Circle(); public void paint ( Graphics gr ) { circ.setPosition( 100, 100 ); int count = 1; while ( count <= 10 ) { circ.setRadius( ); circ.draw( gr ); count = count + 1; } } }
The loop will execute the loop body ten times. The setRadius() method will be used to change to a new radius each time.
setRadius()
Fill in the blank with something reasonable.