public int pick(Vector2f cursor, CollisionResults results) {

        for (Geometry g : geomToJoint.keySet()) {
            if (g.getMesh() instanceof JointShape) {
                camera.getScreenCoordinates(g.getWorldTranslation(), tmp);
                if (cursor.x <= tmp.x + PIXEL_BOX && cursor.x >= tmp.x - PIXEL_BOX
                        && cursor.y <= tmp.y + PIXEL_BOX && cursor.y >= tmp.y - PIXEL_BOX) {
                    CollisionResult res = new CollisionResult();
                    res.setGeometry(g);
                    results.addCollision(res);
                }
            }
        }
        return 0;
    }
Creates a wire with bone lengths data. If the data is supplied then the
wires will show each full bone (from head to tail).

@param armature the armature that will be shown
@param joints the Node to visualize joints
@param wires the Node to visualize wires
@param outlines the Node to visualize outlines
@param deformingJoints a list of joints
jme3-core/src/main/java/com/jme3/scene/debug/custom/ArmatureNode.java