FileDocCategorySizeDatePackage
drawingRects.javaAPI DocExample812Mon Mar 24 02:01:42 GMT 1997None

drawingRects

public class drawingRects extends Frame

Fields Summary
Constructors Summary
drawingRects()

        super ("Drawing Rects");
        resize (175, 225);
    
Methods Summary
public static voidmain(java.lang.String[] args)

        Frame f = new drawingRects ();
        f.show();
    
public voidpaint(java.awt.Graphics g)

      g.translate (insets().left, insets().top);
	g.drawRect (25, 10, 50, 75);
	g.fillRect (25, 110, 50, 75);
	g.drawRoundRect (100, 10, 50, 75, 60, 50);
	g.fillRoundRect (100, 110, 50, 75, 60, 50);