import java.applet.*;import java.awt.*;public class HelloWorldApplet extends Applet{ public void paint(Graphics g) { g.drawString("Hello World!",10,50); }}