Christophe:
>Charles,
>Charles Bornstein wrote:
>> How can I create an instance of UserAgentAdapter, as it has not public
>> constructor?
>I don't know which version of Batik you are using, but in the current
>CVS version, there is a public ctor to UserAgentAdapter. Maybe it would
>be worth to upgrade.
I am using version 1.0. Thanks for the info.
>> How can I access the exception field of the JSVGCanvas's documentLoader?
>I must admit that I don't exactly see what you are trying to achieve
>here, could you be more precise?
I was trying to run a modified version of the sample code for JSVGCanvas
(http://xml.apache.org/batik/svgcanvas.html) and document loading would
fail. I wanted to get the exception field that was set in SVGDocumentLoader,
but found no proper way to do it. I finally modified
SVGDocumentLoader to print a stack trace in the run() method. Despite the
fact that there is a getException() method in SVGDocumentLoader, I found
no way to access it because the documentLoader field in JSVGCanvas is
protected. Am I missing something?
Thanks
Charles
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]