Hello!

I want to put the JSVGCanvas into a JScrollPane. I'm using batik-1.5b5 (should be a CVS Version from 2 days ago). I'm using the class JSVGViewerFrame and modified it a little because I do not need all functions apart from zooming, panning and printing. I've done a subclass extending the JSVGCanvas and implemented the Scrollable Interface. All works fine as long I just do nothing else than scrolling with the thumbs of the JScrollPane.

My problem now is to update the thumbs of the JScrollPane whenever I zoom into/out of the canvas or whenever I pan the canvas.

I've noticed some approachs here but I cannot get it work for my panel. Does anyone have a solution? Maybe a code sample?

Thanks in advance,

Michael


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



Reply via email to