Ive been following along the tutorials and got to the section on how to add controls. One of the two lines that are said to be copied directly into the file throws an error.
Invalid content was found starting with element ‘useStyles’.
then it lists a bunch of expected terms.
the line i copied is: useStyles filename=“nifty-default-styles.xml”
If it says “com.jme3.asset.AssetNotFoundException: …”, you are missing the library in your project. Posting the Stack Trace would offer more info on your issue.
This is most probably caused by a wrong order of the xml elements. You should check with an existing working example where you have to put “useStyles”. You can’t put it anywhere you like.