Hi Nikhil,
Nikhil Dinesh wrote:
Ive managed to fix resizing on the scrollpane by setting the viewBox on
a GVTTreeRenderingCompleted event notification. But I have to do it
explicitly.
To use the JSVGScrollPane your SVG document should have a viewBox
attribute on the outermost svg element. This i
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
Ive managed to fix resizing on the scrollpane by setting the viewBox on
a GVTTreeRenderingCompleted event notification. But I have to do it
explicitly.
On Tue, 22 Jun 2004, Nikhil Dinesh wrote:
> Hi,
>
> I was trying to use the JSVGScrollPane and it kept throwing
> NullPointerExceptions. After
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 hacked around this doing the
following:
public class MySVGScrollPane extends JSVGScrollPane{
public MySVGScrollPane(