//*** The cube and its transformation group ***
Box b2 = new Box(boxHL,boxHL,boxHL,shadedApp);
Transform3D tfBox2 = new Transform3D();
tfBox2.setTranslation(new Vector3f(-0.95f+r+shift,0.0f,0.0f));
Transform3D rotation = new Transform3D();
rotation.rotY(Math.PI/4);
Transform3D rotationX = new Transform3D();
rotationX.rotX(Math.PI/6);
rotation.mul(rotationX);
tfBox2.mul(rotation);
TransformGroup tgBox2 = new TransformGroup(tfBox2);