Hi,
Thanks for posting this question on the forum.
It looks like you are a very near to where you want to be.
A great set of java3d 1.6 examples can be found here (and on various other repos):
https://github.com/chrfra/Java3D-examples
Depending on what you want there are 2 examples that might fit your requirements.
The examples relies on the java3d-utils project, which for 1.6 can be found next to the core project here:
https://github.com/hharrison/java3d-utilsThe example class
org.jdesktop.j3d.examples.swing_interaction.SwingInteraction
is simply a button that rotates a TransformGroup by 10 degrees on each click (or click repeat)
and
org.jdesktop.j3d.examples.objload.ObjLoad
has an interesting model loaded then either runs an auto spin that looks almost exactly like your code, or uses the com.sun.j3d.utils.behaviors.vp.OrbitBehavior from java3d-utils to allow the model to rotate by mouse movement.
If you find the OrbitBehavior a bit to complex then a very similar utility that is just pure rotation can be seen in java3d-utils here:
com.sun.j3d.utils.behaviors.mouse.MouseRotate
Hope this helps, please feel free to ask more questions once you've got these two project into your workspace.