@Override
    public void simpleInitApp() {
        /*
         * Generate a message to report (1) which renderer is selected
         * and (2) the maximum line width.
         */
        String rendererName = settings.getRenderer();
        float maxWidth = renderer.getMaxLineWidth();
        String message = String.format(
                "using %s renderer%nmaximum line width = %.1f pixel%s",
                rendererName, maxWidth, (maxWidth == 1f) ? "" : "s");
        /*
         * Display the message, centered near the top of the display.
         */
        BitmapFont font = assetManager.loadFont("Interface/Fonts/Default.fnt");
        BitmapText text = new BitmapText(font);
        text.setSize(font.getCharSet().getRenderedSize());
        text.setText(message);
        float leftX = (cam.getWidth() - text.getLineWidth()) / 2;
        float topY = cam.getHeight();
        text.setLocalTranslation(leftX, topY, 0f);
        guiNode.attachChild(text);
        /*
         * Display a vertical green line on the left side of the display.
         */
        float lineWidth = Math.min(maxWidth, leftX);
        drawVerticalLine(lineWidth, leftX / 2, ColorRGBA.Green);
    }
Display the renderer's maximum line width.

@author Stephen Gold sgold@sonic.net
jme3-examples/src/main/java/jme3test/renderer/TestLineWidth.java