Hi !

I've got a problem for removing a child of a BranchGroup.
I've declared as a static public objects my branchgroup and the child
which I would like to remove.
In one of my functions, I add the child (the type of the child is an
Axis()) to my BranchGroup.
In another function, with a boolean, I want to remove or to add the child.
If I want to remove, I use the method removeChild(). But, when I execute
my program, when I remove the Axis, nothing happened and there's an
error (java.lang.NullPointerException).
Anyone would help me ?
Any exemple of source code will be appreciated.

Thanks.

David Bourgais

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