Simple Tree Example In this first
example we have kept the supplied parameters to a bear minimum to first demonstrate
the basics of incorporating the tree into a web page. Here we simple add the applet
to the web page and construct a tree of just two nodes to the root of the tree.
And here is the html code,
<applet
code="TreeApplet" width="250" height="300" archive="Treemenu.jar">
<param
name="nodeOffset" value="25"> <param
name="node1" value="products|root|Products and Services|Helvetica|N|10|0|0|0|true">
<param name="node2" value="company|root|Company Information|Helvetica|N|10|0|0|0|true"> </applet>
Please Note: Java and all Java-based marks are
trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and
other countries.
[Copyright © 1997 - 2001 Sirius Computer
Consultants Limited - All rights reserved. ] |