Hello Boris,

There's a Background node that you can hook into your Scene Graph and which
lets you control what is seen as the background of the scene. Check out the
documentation for javax.media.j3d.Background .

Hope this helps,

-Carl-

At 08:40 12.11.00 , you wrote:
>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