Batik Demo
This page demonstrates the use of Batik’s JSVGCanvas swing component in a Java applet.
|
The applet (view source) displays the barChart.svg sample from the Batik distribution using a JSVGCanvas. Script in the web page then interacts with the applet, by calling the updateBar method of the applet object when the Update chart button is pressed. This method modifies the SVG document being displayed to update the heights of the bars.