You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by Hervé Girod <he...@club-internet.fr> on 2007/05/29 03:00:01 UTC
Re: JavaBean version of JSVGScrollPane
OK, patch in Bug #42533
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42533> seems to
successfully make JSVGScrollPane as a JavaBean (it is recognized by
Matisse Netbeans IDE now). But for now, I did not try it to build a
"fully functional" scrollpane really showing SVG stuff. Maybe some more
things need to be there...
Herve Girod
jalex wrote:
> Cameron McCormack-4 wrote:
>
>>
>>> Is there more to it than adding a default constructor, plus
>>> maybe a setCanvas(JSVGCanvas c) method to make a null-argument
>>> constructor
>>> more usable?
>>>
>> Perhaps you could investigate, and supply a patch?
>>
>>
>>
> I did try subclassing JSVGScrollPane, adding a zero-argument constructor and
> re-implementing Serializable with a dummy property, which should have been
> sufficient from what I've read about JavaBeans. I cannot get the NetBeans
> IDE to recognize it as a Bean, however. I don't know whether I'm not fully
> understanding what it means to be a JavaBean, or whether there is something
> extra NetBeans is expecting to find. I was hoping that whoever made
> JSVGCanvas into a JavaBean might be listening and could supply some insight.
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org
Re: JavaBean version of JSVGScrollPane
Posted by mistercaste <mi...@gmail.com>.
I tried to apply the patch on a new JSVGScrollPane (see attachment:
http://old.nabble.com/file/p28764820/JSVGScrollPane.java JSVGScrollPane.java
) and matisse recognizes it as a drag-and-drop element.
However although if I can take it and place it on my frames and place the
JSVGCanvas over it, if I zoom on my canvas or resize the Swing window
containing it the Scrollpanes do not appear.
Did you find a solution for this? Thank you.
--
View this message in context: http://old.nabble.com/JavaBean-version-of-JSVGScrollPane-tp10023930p28764820.html
Sent from the Batik - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org