Hello,

I would like to use batik extensions to add swing components into batik.
I wrote my Batik DOM extension, my Batik bridge extension and implemented the 
primitivePaint method in a new class who extend AbstractGraphicsNode.
At this step I can see my swing components (JButton, JTextField...) to the 
screen with the SVG objects...

But now I would like to interact with my swing components and at this time, I 
don't know how I can do it...
1/ If I click on the component, nothing append, there is no events, I can do 
nothing with it.
2/ If I do "add(mySwingComponent)" on the JSvgCanvas I can interact with my 
swing component but  it is to me to calculate positioning, zooming, scrolling...

So, If anyone succeeded in making  swing components interactive when showed in 
JSvgCanvas (with the bridge extension method), I would be very grateful for the 
help who you can bring to me.

Best regards and thanks in advance.

Jeremie TAUVEL




Reply via email to