xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tonny Kohar <to...@kiyut.com>
Subject Re: JSVGScrollPane question
Date Wed, 23 Jun 2004 04:51:49 GMT
Hi,


> I was trying to use the JSVGScrollPane and it kept throwing
> NullPointerExceptions. After tracing the execution I found that it seems
> to check the viewBox before setting it. 

I am not sure where the problem is. However you could try to set the
JSVGCanvas with loaded SVG Document before put it into JSVGScrollPane.
I check the JSVGScrollPane code, it call checkAndSetViewBoxRect (as you
said), therefore I think the svgCanvas must already loaded with
SVGDocument. 

Best Regards
Tonny Kohar
-- 
Sketsa 
SVG Graphics Editor
http://www.kiyut.com



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message