package myapplet;
 import java.applet.*;
 import java.awt.*;
 public class Myaplt extends Applet{
     public void init()
     {
         System.out.println("init");
     }
     public void start()
     {
         System.out.println("start");
     }
     public void stop()
     {
         System.out.println("stop");
     }
     public void destory()
     {
         System.out.println("destory");
     }
     public void paint(Graphics g)
     {
         Font f=new Font("",Font.ITALIC,30);
         g.setFont(f);
         g.drawString("!",0,30);     
     }
 }