Java catching DOM "mousedown" event through a JFrame.GlassPane

83 Views Asked by At

Having a GlassPane above an SVG canvas, I can transfer MouseEvents to the SVG canvas with:

SwingUtilities.convertMouseEvent(...)

but I can't transfer other events like the one registered by the SVG nodes:

((EventTarget) nNode).addEventListener("mousedown", new OnClickAction(cls),false);

Has this something to do with Event Bubbling?

0

There are 0 best solutions below