Is there a way to suppress the dialog errors boxes that appear? We allow users to import SVG fragments into our application, this can potentially lead to lots of SVG errors. I would like to capture these error messages and display them in our custom error dialogs and log the message to file.
Is this possible??
All errors go through the various UserAgent classes. You seem to be talking about GUI applications so the relevant UserAgent class is:
org.apache.batik.swing.svg.SVGUserAgent
You might want to look at the implementation in org.apache.batik.apps.svgbrowser.JSVGViewerFrame we also provide an adapter in swing.svg.
The other major user agent class is the 'bridge' user agent, org.apache.batik.bridge.UserAgent, but most of those calls are
simply forwarded in a GUI context.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
