Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 SVG 画布上方有一个 GlassPane,我可以将 MouseEvents 传输到 SVG 画布:
SwingUtilities.convertMouseEvent(...)
但我无法传输其他事件,例如 SVG 节点注册的事件:
((EventTarget) nNode).addEventListener("mousedown", new OnClickAction(cls),false);
这与事件冒泡有关吗?