On Fri, 2004-10-29 at 14:41, Stan Dickerson wrote:
> On Mon, 2004-10-11 at 14:26, Thomas DeWeese wrote:
> > Stan Dickerson wrote:
> > > userAgent = new SDUserAgent();    // my code (extends UserAgentAdapter
> > > implements SVGUserAgent)
> > > svgCanvas = new SVGCanvas(userAgent, true, false);
> > > ...ALWAYS_DYNAMIC...add listeners...
> > > url = drawingNameToURL(name);     // my code (name == "Index.svg")
> > > svgCanvas.setURI(url.toString());
> > > 
> > > "AHU_Index.svg" is loaded from my UserAgent openLink().  Could there be
> > > a problem with my UserAgent?
> > 
> >     Your derivation is a bit odd.  There are two distinct UserAgent
> > classes in batik the 'bridge' User Agent, and the SVGUserAgent.  You
> > seem to claim to extend the bridge user agent and implement the
> > SVGUserAgent - I'm not sure what the real result of this would be
> > (although I honestly think the problem is in the JDK's networking
> > code, as remote a possibility as that seems,  based on the stack
> > traces).
> 
> I changed the user agent to extend SVGUserAgentGUIAdapter but got the
> same result.
> 
> I'm postponing fixing this but here is a summary:
> 
> Batik 1.5.1
> JSVGCanvas in Java applet
> setURI(url.toString()) called from init() is OK in all cases
> 
> setURI(url.toString()) called from UserAgent openLink() is:
>         OK from Windows I.E. or Firefox with "http:" URL
>         OK on Linux console if a "file:" URL is used to load the applet
>         HANGS on Linux console if an "http:" URL is used to load the
>                 applet (Mozilla or Firefox, Java 1.4.2 or Java 1.5.0)

P.S. setURI() from openLink() works on the Linux console if the URL is
set for "no proxy" in Mozilla preferences.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to