public float getHeight() {
        return statText.getLineHeight() * statLabels.length;
    }
The <code>StatsView</code> provides a heads-up display (HUD) of various
statistics of rendering. The data is retrieved every frame from a
{@link com.jme3.renderer.Statistics} and then displayed on screen.
<p>
To use the stats view, you need to retrieve the
{@link com.jme3.renderer.Statistics} from the
{@link com.jme3.renderer.Renderer} used by the application. Then, attach
the <code>StatsView</code> to the scene graph.
<pre>
Statistics stats = renderer.getStatistics();
StatsView statsView = new StatsView("MyStats", assetManager, stats);
rootNode.attachChild(statsView);
</pre>
jme3-core/src/main/java/com/jme3/app/StatsView.java