|
Hi again,
My recent doubt is about creating a JSVGCanvas. I
copy the example in the batik website (the same that cames in the doc
directory), then i compilate and run it and i works fine but when i try to load
a SVG file returns exceptions that i list here:
java.lang.ExceptionInInitializerError
at org.apache.batik.swing.svg.JSVGComponent$BridgeUserAgent.getXMLParserClassName(Unknown Source) at org.apache.batik.bridge.DocumentLoader.<init>(Unknown Source) at org.apache.batik.swing.svg.JSVGComponent.loadSVGDocument(Unknown Source) at org.apache.batik.swing.JSVGCanvas.setURI(Unknown Source) at SVGApplication$2.actionPerformed(SVGApplication.java:72) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:258) at java.awt.Component.processMouseEvent(Component.java:5021) at java.awt.Component.processEvent(Component.java:4818) at java.awt.Container.processEvent(Container.java:1380) at java.awt.Component.dispatchEventImpl(Component.java:3526) at java.awt.Container.dispatchEventImpl(Container.java:1437) at java.awt.Component.dispatchEvent(Component.java:3367) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859) at java.awt.Container.dispatchEventImpl(Container.java:1423) at java.awt.Window.dispatchEventImpl(Window.java:1566) at java.awt.Component.dispatchEvent(Component.java:3367) at java.awt.EventQueue.dispatchEvent(EventQueue.java:445) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130) at java.awt.EventDispatchThread.run(EventDispatchThread.java:98) Caused by: java.util.MissingResourceException: Can't find bundle for base name org.apache.batik.util .resources.XMLResourceDescriptor, locale
pt_PT
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773) at java.util.ResourceBundle.getBundle(ResourceBundle.java:538) at org.apache.batik.util.XMLResourceDescriptor.<clinit>(Unknown Source) ... 28 more Can anybody help me? What i'm missing?
Thanks in advance...
Nuno Faria
SIG Lab, Departamento de Inform�tica
Universidade do Minho
Braga, Portugal
|
- Re: Creating a JSVGCanvas (example)... Nuno Faria
- Re: Creating a JSVGCanvas (example)... Nuno Faria
