Click to reopen instructions.

For this boot up, your task is simply to fill in the draw method to draw a circle with it’s center at a random x,y position. The circle should be sized so it just touches the nearest edge of the drawing area. Furthermore, if the center of the circle is in the left half of the drawing area the circle should be colored blue, and otherwise red. Use g.drawOval to draw the circle. The Math.min method you used on Friday will be useful again.

For a bonus round, add a for loop to draw ten random circles. (You may want to break out the code to draw a single random circle into its own method.)

Put definitions here.

Revisions:

Random circle

Compilation errors