FileDocCategorySizeDatePackage
drawingLines.javaAPI DocExample777Mon Mar 24 02:01:32 GMT 1997None

drawingLines

public class drawingLines extends Frame

Fields Summary
Constructors Summary
drawingLines()

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

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

      g.translate (insets().left, insets().top);
	g.drawLine (5, 5, 50, 75);   // line
	g.drawLine (5, 75, 5, 75);   // point
	g.drawLine (50, 5, 50, 5);   // point