I believe, the import statements would bloat the document. In the xith-tk project there's an org.xith3d.xin package, which contains all the XIN chapters' examples (with imports). And any release is shipped with these examples next to the XIN document. And the examples can be downloaded at xith.org next to the document. So I think, having the examples as code is sufficient and even better than bloating the document with the imports, which can at least easily be found by eclipse.
For the registerKeyboardAndMouse() method:
InputAdapterRenderLoop is a convenience extension of RenderLoop. It implements InputListener and its constructor automatically adds itself to the list of input listeners in the InputManager.
To register devices do the following:
In an (InputAdapter)RenderLoop extension:
this.getInputManager().registerKeyboardAndMouse( Canvas3D );
I will fix this in XIN. But I guess, you will find more things to fix and I will want to fix them all at once. So please edit the first posting in this thread any time you find something so that I can get all information from one posting when we're through.
Marvin