Look at the Switch group.
Evan Drumwright
-----Original Message-----
From: Nazrul <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, February 14, 2000 7:34 PM
Subject: [JAVA3D] Shape replace
>Hi,
>
>I have a shape 3D in my canvas3D, what I want to do is that if a button
>is pressed in my application I want to replace the shape3D from the
>canvas3D with a new shape.
>
>What is the best way to do this.
>
>I am having lot of problem, I have tried lot of things, also tried to
>detach() a branch group but I keep getting:
>IndexOuyOfBoundsException: Index: -1, Size: 1
>....
>
>I have set the capability:
> bGroup.setCapability(BranchGroup.ALLOW_DETACH);
>
>
>please help if you can
>
>Thanks
>
>Nazrul
>
>===========================================================================
>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".