import javax.swing.*;
import java.awt.*;
public class Smile extends JApplet {
public void paint(Graphics h){
h.drawString("This prog draw an Smile Face ",10,30);
h.drawOval(100,100,100,100);
h.drawOval(120,130,20,20);
h.drawOval(160,130,20,20);
h.drawOval(145,155,10,10);
h.drawArc(130,140,40,40,-30,-110);
h.drawOval(210,170,20,20);
h.drawOval(200,180,10,10);
h.drawArc(240,100,80,50,60,90);
h.drawArc(240,100,80,50,60,-90);
h.drawArc(270,140,80,50,80,-110);
h.drawArc(270,140,80,50,80,-210);
h.drawArc(270,140,80,50,80,-240);
h.drawArc(240,140,80,50,240,-90);
}
}