Hey there,

A Canvas3D cannot be opaque, regardless of overwriting the method. The
problem is that it extends off of awt.Component which is not Swing, ie:
Heavy.

Therefore, "Transparency" really isn't supported.

You can; however, trick the end user into -thinking- it's transparent. What
you can do is take a screen capture via the Robot class, and paint that
image as the background on the canvas, then do all of your other painting on
top of it.

~ddd




-----Original Message-----
From: R. Carassou [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 12, 2002 7:38 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Canvas3D can be non-opaque ?

Hello,
i'd like to know if it's possible to create a
non-opaque Canvas3D? (transparent)

I have allready try to overwrite the isOpaque method
but it's not work
new Canvas3D( getGraphicsConfiguration()){
public boolean isOpaque(){return false;}
};
thanks in advance for your advices

Regards

Renaud


___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com

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

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

Reply via email to