private void loadText(BitmapText txt, String text, BitmapFont font, float x, float y, float z) {
        txt.setSize(font.getCharSet().getRenderedSize());
        txt.setLocalTranslation(txt.getLineWidth() * x, txt.getLineHeight() * y, z);
        txt.setText(text);
        guiNode.attachChild(txt);
    }
Sets up a BitmapText to be displayed
@param txt the Bitmap Text
@param text the 
@param font the font of the text
@param x    
@param y
@param z
jme3-examples/src/main/java/jme3test/games/CubeField.java