Title: Batik Demo This page demonstrates the use of Batik’s [JSVGCanvas](using/swing.html) swing component in a Java applet. | [Your browser doesn’t seem to support Java applets, which is required for this demo.] | | Expense | Amount | |---------|--------| | Shoe | | | Car | | | Travel | | | Computer | | | The applet ( [view source](demo/AppletDemo.java) ) displays the [barChart.svg](http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk/samples/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.