Is there a way to get reference to JSVGCanvas object from BridgeContext reference (of course in case we present svg document in JSVGCanvas)?

I'm still trying to mix svg with swing, and create SwingGraphicsNode class which could draw a swing component in svg and handle events properly. I want to add my components to swing hierarchy somehow, so i've thought about getting reference to JSVGCanvas object and add children there. There is a BridgeUserAgent class in JSVGComponent, and I can get object of that class by calling getUserAgent(), but i don't see a way to obtain JSVGCanvas reference. I don't want to subclass JSVGCanvas to provide my own UserAgent, because my solution should work also in squiggle browser.

Regards,
Lukasz Matuszczak




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



Reply via email to