Hello!

Does everybody knows how to set background color of the
drawing area.

My hierarchy is:

JFrame -> Canvas3D -> SimpleUniverse

I tried to set the backround color to white
JFrame ContentPane and Canvas3D:

this.setBackground(Color.white);
this.getContentPane().setBackground(Color.white);
canvas.setBackground(Color.white);

The screen blinks, shows itself white
for a second, and then becomes black again.

Thanks a lot

Boris

===========================================================================
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