[ Prev | Main | Next ]

Template Applet



Template provides a starting point for creating a custom applet. You copy it, rename the file and class, and then add/modify as appropriate. It provides an examples menu, a graph with axes, one function graph, and a point, a limit control panel, a function definition input box, and an input box and slider to control the location of the point.

The applet tag that creates the applet is as follows:

<applet code="net.sourceforge.webcompmath.calculus.Template" codebase="../../assets"
archive="webcompmath.jar,calculus.jar" height="400" width="640">
<param name="UseLoadButton" value="no" />
</applet>

This applet takes the following parameters:

Param Name Type Default Description
Example1, ... String N/A Each example is a list of strings separated by semicolons. The strings, in order, are:
1. The name of the example, displayed in the example menu.
2. The expression for f(x)
3. The initial value for x
4. The values for xmin, xmax, ymin, and ymax, as a comma-separated list.


[ Prev | Main | Next ]