|
hi all,
i'm new to java3d...& i'm
trying few examples with it...i have created a simple class with my own
behavior....on the click on the INSERT button i'm adding a new Shape3D
object...& on the click of the DELETE button i'm removing the
object...
Adding is workinf fine...but when i'm removing
it...i'm getting
javax.media.j3d.RestrictedAccessException...can somebody tell
me why...i'm getting this...
BG
|
TG( to this TransformGroup i'm adding a new
BranchGorup->TransformGroup->Shape3D)
|
ColorCube
I have set the follwoing capabilties to both the
BranchGroup as well as to the TransformGroup
BranchGroup.ALLOW_CHILDREN_EXTEND
BranchGroup.ALLOW_CHILDREN_READ
BranchGroup.ALLOW_CHILDREN_WRITE
A sample code would be very helpful.
Thanks in advance
Ravi
|
