You can remove BranchGroups from a scene, not
TransformGroups.
If you have to put and remove the same branch you your
scene, consider using Switch. Switch allow you to turn
on/off entire branch groups.
Of course set all needed capability bits ;)

Alessandro


 --- Alp Yilancioglu <[EMAIL PROTECTED]> escreveu: >
Hi,
>
>   Thank you for helping me in this..
>
>   But I still got a problem
>
>
> In the code
>
> Lets say I have 1TG and  2TG named  TransformGroups
>           that have
> setCapability-Allow-transformGroup-read/write
> properties
>
> and  1TG->has the shape added sphere
>         2TG-> has cyl�nder
> and 1TG.addChild(2TG);
> is working well..
>
> in the code after adding 2TG to 1TG . I can remove
> them too w�th
> removeCh�ld
>
>        1TG->has sphere
>         2TG-> has cyl�nder
>         1TG.addChild(2TG);
>         1TG.removeCh�ld(2TG);
>
> th�s works well too..
>
> but dur�ng Runtime.. when � done th�s
> -1TG.removeCh�ld(2TG);-
>       w�th a funct�on wh�ch �s performed by press�ng
> a button from a
> panel
>                      the program stops .. no
> render�ng or may be �t
> crashes ???
>
>
>
>
>
===========================================================================
> 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".
>

______________________________________________________________________

Participe da pesquisa global sobre o Yahoo! Mail:
http://br.surveys.yahoo.com/global_mail_survey_br

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