J. Lee,
I made this mistake (and asked this question a few months back).
There is a detach() method in BranchGroup that works fine.
Rob
J. Lee Dixon wrote:
> Why is there not a Node.detach() function? In order to detach a Node
> child from its parent, currently you have to go to the parent, then
> search the list of its children to find the index of the one you want to
> detach, then call Group.removeChild(index). (Am I missing some better
> way of doing this?)
>
> Would anyone else like to see this function? How about it, Sun?
>
> J. Lee Dixon
> Software Engineer
> SAIC - Celebration, FL
> [EMAIL PROTECTED]
>
> ===========================================================================
> 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".
--
Rob Nugent
Development Manager
PeerLogic
[EMAIL PROTECTED]
http://www.peerlogic.com
Tel: +44 (0) 1489 585503
Fax: +44 (0) 1489 881363
===========================================================================
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".