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

> 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

Best Regards
Tonny Kohar
SVG Graphics Editor

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

View raw message