/**
 * @(#)TestAwtPaint.java
 *
 *
 * @author 
 * @version 1.00 2008/10/18
 */import java.awt.*;public class TestAwtPaint extends java.applet.Applet {
    
    /** Initialization method that will be called after the applet is loaded
     *  into the browser.
     */
    int x;
    public void init() {
        // TODO start asynchronous download of heavy resources
     x=5;
    }    public void start(){
    
     x=x+20;
     repaint();
    }
    
    
    public void stop(){
    
    }
    public void paint(Graphics g) {
      g.drawString("hello?",20,x+10);    
    }
}