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);     
     }
 }