anchor.diff:  === JME-Nifty Sample Code
   
   *  XML examples
  -**  link:https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-testdata/src/main/resources/Interface/Nifty/HelloJme.xml[HelloJme.xml] - Can be found in <<sdk/sample_code#jme3testdata-assets#,jme-testdata/Interface/Nifty>> also.
  +**  link:https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-testdata/src/main/resources/Interface/Nifty/HelloJme.xml[HelloJme.xml] - Can be found in xref:sdk:sample_code.adoc#jme3testdata-assets.adoc[jme-testdata/Interface/Nifty] also.
   
   *  Java examples
  -**  link:https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-examples/src/main/java/jme3test/niftygui/TestNiftyGui.java[TestNiftyGui.java] - Can be found in <<sdk/sample_code#the-jme3tests-project-template#,jme3 tests>> also.
  -**  link:https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-examples/src/main/java/jme3test/niftygui/TestNiftyToMesh.java[TestNiftyToMesh.java] - Can be found in <<sdk/sample_code#the-jme3tests-project-template#,jme3 tests>> also.
  +**  link:https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-examples/src/main/java/jme3test/niftygui/TestNiftyGui.java[TestNiftyGui.java] - Can be found in xref:sdk:sample_code.adoc#the-jme3tests-project-template.adoc[jme3 tests] also.
  +**  link:https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-examples/src/main/java/jme3test/niftygui/TestNiftyToMesh.java[TestNiftyToMesh.java] - Can be found in xref:sdk:sample_code.adoc#the-jme3tests-project-template.adoc[jme3 tests] also.
   
   *  jME3-ready version of the Nifty +++<abbr title="Graphical User Interface">GUI</abbr>+++ 1.3 demo (sample code, Java)
   **  link:http://files.seapegasus.org/NiftyGuiDemo.zip[NiftyGuiDemo.zip]
   
   *  Find more sample code in the link:https://github.com/nifty-gui/nifty-gui/tree/1.4/nifty-examples/src/main/java/de/lessvoid/nifty/examples[nifty-examples] repositories.
  -**  link:https://github.com/nifty-gui/nifty-gui/wiki/Examples[Running The Nifty Examples] 
  +**  link:https://github.com/nifty-gui/nifty-gui/wiki/Examples[Running The Nifty Examples]
   
   
   === External Documentation
  
positive.code: Learn to add a Nifty +++<abbr title="Graphical User Interface">GUI</abbr>+++ to your jME3 game by going through this multi-part tutorial:
  
  .  Understand the Nifty GUI Concepts described on this page.
  .  <<jme3/advanced/nifty_gui_best_practices#,Browse this short list of Best Practices>>
  .  Lay out your graphical user interface:
  **  <<jme3/advanced/nifty_gui_xml_layout#,Lay out the GUI in XML>> – or –
  **  <<jme3/advanced/nifty_gui_java_layout#,Lay out the GUI in Java>>
  
  .  Integrate the +++<abbr title="Graphical User Interface">GUI</abbr>+++ into the game:
  **  <<jme3/advanced/nifty_gui_overlay#,Overlay the User Interface Over the Screen>>  – or –
  **  <<jme3/advanced/nifty_gui_projection#,Project the User Interface Onto a Texture>>
  
  .  <<jme3/advanced/nifty_gui_java_interaction#,Interact with the GUI from Java>>
  
  
  == Must Know: Nifty GUI Concepts
  
negative.code: *  A Nifty +++<abbr title="Graphical User Interface">GUI</abbr>+++ contains one or more *screens*.
  **  Only one screen is visible at a time.
  **  Name the first screen `start`. Name any others whatever you like.
  **  Screen are xref:jme3/advanced/nifty_gui_java_interaction.adoc[controlled by a Java Controller class].
  
  *  A screen contains one or more *layers*.
  **  Layers are containers that impose alignment on their contents (vertical, horizontal, or centered)
  