Wednesday, March 30, 2011

Java Applat 02

//Dharmendra Bagrecha
import java.awt.*;
import java.applet.*;
/*
<APPLET code="Face.class" width=200 height=200>
</Applet>
*/
public class Face extends Applet
{
    public void paint(Graphics g)
    {
    g.drawOval(40,40,120,120);
    g.drawOval(57,75,30,20);        //eyes
    g.drawOval(110,75,30,20);
    g.fillOval(68,81,10,10);
    g.fillOval(120,81,10,10);
    g.drawOval(94,100,15,30);        //Nose
    g.drawArc(60,105,80,40,180,180);    //Mouth
    }
}


No comments:

Nathuram Godse - The Man Who Killed Gandhi

Nathuram Godse - The Man Who Killed Gandhi (The Other Side of The Story)