import java.applet.Applet;
import java.awt.Graphics;

public class HelloWorldApplet extends Applet {

	public void paint(Graphics g) {
		g.drawString( 	getParameter("displayText"),
							Integer.parseInt(getParameter("xPos")),
							Integer.parseInt(getParameter("yPos")) );
	} //paint()
	public String getAppletInfo() {
		return( "written by Mario Jeckle\nversion: 1.1\nCopyright (c) by Mario Jeckle");
	} //getAppletInfo()
	public String[][] getParameterInfo() {
		String appInfo[][] = {
	 		{"displayText", "anyString", "string to display"},
	 		{"xPos", "numeric value" , "horizontal position"},
	 		{"yPos", "numeric value", "vertical position"}
 		};
		return appInfo;
	} //getParameterInfo()
} //end class HelloWorldApplet