boxAlpha.setStartTime(Long.MAX_VALUE);
RotationInterpolator boxRotation = new RotationInterpolator(boxAlpha,tgmBox,
rotationAxis,0.0f,(float) Math.PI*2);
BoundingSphere bounds = new BoundingSphere(new Point3d(0.0,0.0,0.0),Double.MAX_VALUE);
boxRotation.setSchedulingBounds(bounds);
//The movement is added to the transformation group.
tgmBox.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
tgmBox.addChild(boxRotation);