Alessandro Di Bella wrote:

I did what you suggested but I must have made a mistake because it doesn't seem to work.

[...]

Debugging through the app, I can see that the listeners are set but nothing happens when I click on the element.

I reckon that the events are not fired.

Ahh, you probably need to tell the Canvas that you want your document to be dynamic, see: batik.swing.svg.JSVGComponent.setDocumentState

   BTW you should really use Element.getAttributeNS instead of
looping over all the attributes.  This will be _much_ faster!


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



Reply via email to