FileDocCategorySizeDatePackage
squareerrors.javaAPI DocExample507Tue Feb 06 14:01:42 GMT 2001None

Squareerrors

public class Squareerrors extends Applet

Fields Summary
Constructors Summary
Methods Summary
public voidpaint(Graphics g)

		g.setColor(Color.red);				// set the drawing pen colour
		g.fillrect(100, 100, 100, 100);  // draw a filled square
		g.drawString("One red square", 100, 220); // write the string