As stated in Batik dev mailing list, and also in Netbeans mailing list, it would be nice to have JSVGScrollPane as a JavaBean. step is (relatively) easy, one just need to: - add a new "no-argument' constructor (making sure that all the component, except the enclosed canvas, it initialized) - add a new method allowing to set the enclosing JSVGCanvas. With the above patch, Netbeans recognize it as a bean and it is possible to use it in Matisse, for example. The modification in the initial constructor is very limited (just reused the code of the no-argument" constructor, so I'm pretty sure that it works exactly like before, but I'm have no tried for now to construct a "fully functional" JSVGScrollPane in Matisse.
Created attachment 20283 [details] patch for making JSVGScrollPane as a JavaBean
Comment on attachment 20283 [details] patch for making JSVGScrollPane as a JavaBean typo
Seems that it is not enough, not to use it as a Bean, but it would be great to be able to drag and drop the JSVGCanvas component on the JSVGScrollPane. It does not work for the moment, plus the limits of the component are not visible in Netbeans. Some thinks still seem to be missing...