@Override
    public void update() {
        if (prof != null) {
            prof.appStep(AppStep.BeginFrame);
        }

        super.update(); // makes sure to execute AppTasks
        if (speed == 0 || paused) {
            return;
        }

        float tpf = timer.getTimePerFrame() * speed;

        // update states
        if (prof != null) {
            prof.appStep(AppStep.StateManagerUpdate);
        }
        stateManager.update(tpf);

        // simple update and root node
        simpleUpdate(tpf);

        if (prof != null) {
            prof.appStep(AppStep.SpatialUpdate);
        }
        rootNode.updateLogicalState(tpf);
        guiNode.updateLogicalState(tpf);

        rootNode.updateGeometricState();
        guiNode.updateGeometricState();

        // render states
        if (prof != null) {
            prof.appStep(AppStep.StateManagerRender);
        }
        stateManager.render(renderManager);

        if (prof != null) {
            prof.appStep(AppStep.RenderFrame);
        }
        renderManager.render(tpf, context.isRenderable());
        simpleRender(renderManager);
        stateManager.postRender();

        if (prof != null) {
            prof.appStep(AppStep.EndFrame);
        }
    }
Creates the font that will be set to the guiFont field
 and subsequently set as the font for the stats text.

@return the loaded BitmapFont
jme3-core/src/main/java/com/jme3/app/SimpleApplication.java