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".

Reply via email to