On Wed, 31 Jan 2001, Liming CHEN wrote:
> Hi,
>
> I add seven children (Behaviour) to a BranchGroup. Then I try to remove all these
> children by the following codes
>
> int childNum = bg.numChildren();
> for( int j =0; j<childNum; j++) {
> System.out.println(" test child number" + childNum + " " + j );
> bg.removeChild(j);
> }
> --snip,snip--
Hi,
just put a bg.numChildren() instead of the childNum into the
System.out.println() and see what happens.
AG
===========================================================================
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".
- [JAVA3D] Mouse behaviors Karsten Fries
- Re: [JAVA3D] Mouse behaviors Kelvin Chung
- Re: [JAVA3D] Mouse behaviors Eric Reiss
- [JAVA3D] Mouse behaviors Zak
- Re: [JAVA3D] Mouse behaviors Andrea Tartaro
- [JAVA3D] New Behaviors? UNG Leng
- Re: [JAVA3D] Mouse behaviors Paul Byrne
- Re: [JAVA3D] Mouse behaviors Paul Byrne
- [JAVA3D] problem with removeChild() Liming CHEN
- Re: [JAVA3D] problem with removeChild() Axel Gro�
- Re: [JAVA3D] problem with removeChild() Karsten Fries
- Re: [JAVA3D] problem with removeChild() David
- Re: [JAVA3D] problem with removeChild() Liming CHEN
- Re: [JAVA3D] problem with removeChi... Gregory Bradford
- [JAVA3D] confused about collisions Axel Gro�
- [JAVA3D] Strange things with ja... Qiuli Sun
