>>709
root : BranchGroup
| spin : TransformGroup
| | sphere : Sphere
| | rot : RotationInterpolator
| | cube : ColorCube(*)
| rotateGroup : TransformGroup
| | cube : ColorCube(*)
| bg : Background
| light : AmbientLight

(*)が同じものなので木構造にならずエラーを起こす。

root.removeChild(spin);
rotateGroup.addChild(spin);
//rotateGroup.addChild( cube );

root : BranchGroup
| rotateGroup : TransformGroup
| | spin : TransformGroup
| | | sphere : Sphere
| | | rot : RotationInterpolator
| | | cube : ColorCube
| bg : Background
| light : AmbientLight

で、とりあえず球とキューブが一緒に回転するようにはなると思う。