In GuiTest.java

replace:
                 myImagePanel.add(finalRenderedScene, BorderLayout.CENTER);
with:
                 myImagePanel = finalRenderedScene;

Seemed to work as a quick hack.

At 08:43 AM 4/17/02 -0700, you wrote:
>Hi all,
>       I am attaching 2 small programs. These programs
>should display a red quad first, and then a green quad
>by removing the branch group holding a red quad and
>adding the branch group holding the green quad.
>   the program compiles, displays a red quad, and when
>loading a green quad, the screen becomes blank.
>
>I have included all the necessary capabilities. Please
>spare some time to look into these programs.
>
>Run -> java GuiTest
>
>Press File..Load Red Quad --> Displays a Red Quad
>Press Load Green Quad --> Displays a blank screen.
>
>
>Thanks in advance,
>Sagar.
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Tax Center - online filing with TurboTax
>http://taxes.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".

Reply via email to