The Applet Example

JTreeMap comes with an applet that you can use directly on your site. Use left click to Zoom and right click to see the menu. Here is an example:

How to configure it?

Here are the parameters:

  • Parameter 'dataFile', the location of the data file, relative to the codebase of the applet
  • Parameter 'dataFileType', either xml or tm3
  • width and height are configured in the usual applet way
	<applet archive="./jtreemap-1.1.0.jar"
		width="600" height="400">
             <param name="dataFile" value="samples/dataDump.xml"/>
             <param name="dataFileType" value="xml"/>