Use the necessary tags to create a basic HTML page that will contain all of application pieces (applets, helper applets, buttons, scripts etc.)
For example:
<HTML>
<HEAD>
<TITLE>Application
</TITLE>
</HEAD>
<BODY>
</BODY>
</HTML>
Your application may use framesets. Creating frameset tags
For example:
<framesets cols="x%, *">
<frame src="file1.html" name="filename">
<frame src="file2.html" name="filename">
</framesets>
Where x stands for the percent of the overall space the column frame will take and * stands for the remaining space. You may introduce as many frames as your application requires. Frames may also be set horizontally by substituting "cols" for "rows". For more information on framets consult an HTML reference.
<TABLE BORDER CELL PADDING=2 CELL SPACING=2 WIDTH="100%">
<TR ALIGN=center>
<TD>item 1
</TD>
<TD>item 2
</TD>
</TR>
<TR ALIGN=center>
<TD COLSPAN=2>item 3
</TD >
</TR >
</TABLE>
item 1 | item 2 |
item 3 |
<TR></TR>
tags define a row in the table while the <<TD></TD>
tags define the columns within the row. The information written or embedded within the table cells is set between the tags. The ALIGN specifies where the cell information is printed (in this case aligned along the center). The COLSPAN allows a cell to occupy the space of however many are specified (in this case two).
<INPUT type=button name="mybutton" value="mybutton" onClick="buttonAction()">
<INPUT type="checkBox" name="myCheckBox" value="myCheckBox" onClick="buttonAction()">
<INPUT name="text" size="50" onChange="buttonAction()">
<INPUT name="list" size="1" onChange="buttonAction()">
<APPLET
CODE="name of java class file"
CODEBASE="data path of Java archive (jar) and cabinet (cab) files"
ARCHIVE="name of the jar file containing the class files necessary to instantiate
the applet under Netscape"
WIDTH=width of applet in pixels
HEIGHT=height of applet in pixels
NAME="name given to applet for use in scripting">
<PARAM NAME="cabinets" VALUE="name of the cab file containing the
class files necessary to instantiate the applet under Internet Explorer">
<PARAM NAME="name of parameter to be selected" VALUE="value chosen for parameter">
</APPLET>
If an applet has no user interface the width and the height values are set to 1 (minimum). This makes the applet invisible on the web page. Applets can also be imbedded within objects such as tables, as seen in the Parametrized Query Example, or frames, as seen in the ChartSettings example.
Some applets need no configuration information and thus do not require applet PARAM specification. Others, for instance the Chart Applet, do require initial configuration information and thus require that a number of PARAMs be specified in the APPLET tag. The configuration information is applet and task specific and thus depends on which applet you are incorporating and your intended purpose. A PARAM (parameter) is specified by including a <PARAM> tag (as seen above) in the body of the APPLET tag. For examples of how these parameters are used see the sample applications.