Hello bienator

I doubt it is possible to "to render swing components on top of the heavyweight 
Canvas" and make it feels like a real Swing component

Swing doesn't just "paints" components to JFrame, it also contains MouseEvents 
processing mechanism

To have a live Swing component you should add it to a lightweight container

You can probably have a hidden component and translate events from your canvas 
to it and than udate the image on the canvas
but will be so hacky and unreliable so don't recommend it

if you still want to play with event tranformations etc.
have a look JXTransformer from https://swinghelper.dev.java.net/

Thanks
alexp
[Message sent by forum member 'alexfromsun' (alexfromsun)]

http://forums.java.net/jive/thread.jspa?messageID=155401

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to