As you may have noticed, the SDK has a Java code palette. Open a Java file, then choose Windows>Palette if you don’t see it. It contains common code snippets that you can drag and drop into a method (or into the class, it depends) and adjust to your application’s needs.
For example, there are code snippets for light sources, some particle and post-processor effects, Node and Material code, some common input handlers, quaternions, HUD text, load and save a Node as j3o…
Does anyone use it yet? I just added some new snippets, but maybe you can think of other useful things that you would like to see there. You know, THAT one line of code that you keep in a text file and copy all the time, because it’s so powerful but you always forget it?
I don’t want to fill it just for the heck of it, it has to be something useful. A palette only makes sense for self-contained kinds of code samples. (It can’t be code that needs to be added in two, three different places, for example.)
Well, try it, and tell us whether it works for you.