FileDocCategorySizeDatePackage
star.javaAPI DocExample804Mon Mar 24 01:57:58 GMT 1997None

star

public class star extends Applet

Fields Summary
Constructors Summary
Methods Summary
public voidpaint(java.awt.Graphics g)

        g.setFont (new Font ("Helvetica", Font.BOLD, 20));
        g.drawString ("Hi", 112, 112);
        g.setColor (Color.red);
        g.drawLine (50, 75, 200, 75);
        g.drawLine (125, 25, 75, 175);
        g.drawLine (125, 25, 175, 175);
        g.drawLine (50, 75, 175, 175);
        g.drawLine (75, 175, 200, 75);
    
public voidupdate(java.awt.Graphics g)

        paint (g);