Java tutorial
import java.applet.Applet; import java.awt.BorderLayout; import java.awt.Label; public class Main extends Applet { Label m_titleLabel = new Label(getParameter("Title")); public void init() { setLayout(new BorderLayout()); add(BorderLayout.NORTH, m_titleLabel); } } <HTML><TITLE> Writing and Running Java Applet,Demonstration</TITLE><BODY>< APPLET CODE = "ParamApplet.class"WIDTH=600 HEIGHT=275><PARAM NAME=Title VALUE="This is a Title String"> </APPLET> </BODY> </HTML>