Why the  instruction at Test.createCanvasPanel(Test.java:52), generate a RestrictedAccessException
 (javax.media.j3d.RestrictedAccessException: Group: only a BranchGroup node may be added ),
 if the variable component is a BranchGroup ? Why the first addChild(Sphere) don't generate this exception ?
 I just try to add a new child to a BranchGroup.
How I can modify a BranchGroup after it has been added to a Universe ?
I sent you the source code of my test.
 
Marcel Almeida

Attachment: Test.java
Description: Binary data

Reply via email to