public static void main(String[] args) {
    HelloPicking app = new HelloPicking();
    app.start();
  }
Sample 8 - how to let the user pick (select) objects in the scene 
using the mouse or key presses. Can be used for shooting, opening doors, etc.
jme3-examples/src/main/java/jme3test/helloworld/HelloPicking.java