Re: [JAVA3D] BranchGroup capabilityBits

2002-08-30 Thread Chris Forrester
D]> >To: [EMAIL PROTECTED] >Subject: Re: [JAVA3D] BranchGroup capabilityBits >Date: Fri, 30 Aug 2002 12:25:15 -0500 > >Rob, > >Try: > .setCapability(Group.ALLOW_CHILDREN_EXTEND); > .setCapability(Group.ALLOW_CHILDREN_WRITE); > >- John Wright >Starfire Research &g

Re: [JAVA3D] BranchGroup capabilityBits

2002-08-30 Thread John Wright
Rob, Try: .setCapability(Group.ALLOW_CHILDREN_EXTEND); .setCapability(Group.ALLOW_CHILDREN_WRITE); - John Wright Starfire Research Rob Elsam wrote: > > I would like to add a branchGroup to another at run > time on the push of a button: > contentBranch.addChild(newChild); > However doing th

[JAVA3D] BranchGroup capabilityBits

2002-08-30 Thread Rob Elsam
I would like to add a branchGroup to another at run time on the push of a button: contentBranch.addChild(newChild); However doing this causes a restrictedAccessException. I assume you have to set the capability of the BranchGroup in order to enable it to have a child added at run time. However I