Java Tutorial

 
 
 
 
import java.awt.Graphics;
import java.applet.Applet;


public class MyFirstApplet extends Applet
{
    public void paint(Graphics g)
        {
              g.drawString(\"My applet\",400,200);
        }
}

 
 
Didn't find what you were looking for? Find more on An applet program to display text