Appearance bSphereApp = new Appearance();
bSphereApp.setMaterial(new Material(ambientColourBSphere,emissiveColourBSphere,
diffuseColourBSphere,specularColourBSphere,shininessBSphere));
Sphere bSphere = new Sphere(0.4f,bSphereApp);
//The UserData are needed in order to identify the sphere when it is picked.
bSphere.setUserData("sphere");
Transform3D tfBSphere = new Transform3D();
tfBSphere.setTranslation(new Vector3f(2.0f,0.0f,-10.5f));
TransformGroup tgBSphere = new TransformGroup(tfBSphere);
tgBSphere.addChild(bSphere);