Java .

Java Applets

A Hello World Applet

import java.awt.Graphics;

public class HelloWorldApplet extends java.applet.Applet {

  public void paint(Graphics graphicsIn)
  {
    graphicsIn.drawString("HelloWorldApplet.java",25,25);
  }

} 

To download source right-click here and "Save As...".
Run the Applet in a new window
Comments
Sign in to be the first to comment on Java Applets.