//File:	HelloApplet.java

//The following packages are necessary for any applet
import java.applet.*;
import java.awt.*;

public class HelloApplet extends Applet
{
	//The paint() method is called by the browser whenever the applet must be redrawn
	public void paint (Graphics g)
	{
		Dimension d = new Dimension();
		d=getSize();	//the size of the applet that is....
		
		int w = d.width;
		int h = d.height;
		
		String message = new String();
		message = "Hello World!!!!!!";
		
		g.drawString (message, w/2, h/2);
		//NOTE:  Using the coordinates w/2 and h/2 allows
		//	 us to center the message.
	}
}