FileDocCategorySizeDatePackage
circleArea.javaAPI DocExample342Wed Mar 07 16:23:48 GMT 2001None

CircleArea

public class CircleArea extends Applet

Fields Summary
private int
xCoord
private int
yCoord
private int
diameter
Constructors Summary
Methods Summary
public voidpaint(java.awt.Graphics g)

		g.setColor(Color.blue);
		diameter = (int) (Math.random() * 100) + 1;
		g.fillOval( 30, 30, diameter, diameter);