This already errors and gives me “cannot find symbol” which most likely means that I need to import something. However, the editor that I use (The SDK from monkeyengine) for the first time can’t tell me what to import and unless I read over it its not on that page either.
And note: by default, JME will include a minimal amount of stuff that everyone might need. So often for advanced or less-used things then you will have to add the libraries yourself. Else people would have a lot of junk included in their projects that they weren’t even using. (Which is already kind of true with the default configuration.)
Nifty is one of three different GUI libraries one might use now… so even if the distribution were even (which it isn’t), of the percentage of games that actually need a GUI beyond a text label here and there, nifty would only be used by 1/3rd of those. So overall, much less than 33%… which doesn’t warrant including it by default in all basic game projects.
That makes a lot of sense actually. Though, I expected Nifty to be one of those things that would be included by default but if there are indeed many other things that people use it makes sense if it isn’t. Though that is even more reason the docs should probably mention that you need to enable it yourself.