I'm trying to run the example SVGApplication that appears on the Apache site.
I am getting an error about the getActionMap() method of the  javax.
This occurs on the second line of the Main():
JFrame f = new JFrame("Batik");
SVGApplication app = new SVGApplication(f);
Can anyone tell me why?
This is what I get:
AppAccelerator(tm) 1.2.010 for Java (JDK 1.2), x86 version.
Copyright (c) 1997-1999 Inprise Corporation. All Rights Reserved.
java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError: javax.
swing.JComponent: method getActionMap()Ljavax/swing/ActionMap; not found
        at org.apache.batik.swing.JSVGCanvas.<init>(Unknown Source)
        at org.apache.batik.swing.JSVGCanvas.<init>(Unknown Source)
        at myDom.SVGApplication.<init>(SVGApplication.java:36)
        at myDom.SVGApplication.main(SVGApplication.java:21)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.borland.jbuilder.util.BootStrap.invokeMain(Unknown Source)
        at com.borland.jbuilder.util.BootStrap.main(Unknown Source)