Hello, It is possible to remove branch groups at runtime. The branch group being removed must have the ALLOW_DETACH capability set. Also, the parent group must have ALLOW_CHILDREN_WRITE capability set.
As for removeChild vs detach, I have not looked at the code, but I believe removeChild will call detach on the child you are attempting to remove. I hope that helps, -mike -----Original Message----- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] On Behalf Of Melina Alberio Sent: Thursday, August 26, 2004 7:58 AM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] RemoveChild vs Detach I'm having the same problem. Someone help us. --- romil shah <[EMAIL PROTECTED]> wrote: > Hi all, > > I am writting an application which requires me to > refresh the screen very often. I tried using > removeChild, but guess the memory was not > deallocated > and moreover I was getting a multiple parent > exception. > The only work around is Detach. Which is documented > to > not deacllocate the memory. > > My question is :: > * Is there a way to deallocate all the children of a > BranchGroup in runtime ? > * What is the diffrence between RemoveChild and > Detach > ? > > > Thanks in advance, > > Romil. > > > > > _______________________________ > Do you Yahoo!? > Win 1 of 4,000 free domain names from Yahoo! Enter > now. > http://promotions.yahoo.com/goldrush > > =========================================================================== > 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". > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail =========================================================================== 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". =========================================================================== 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".