MinieExamples/src/main/java/jme3utilities/minie/test/TestDac.java
/**
     * Update the status text in the GUI.
     */
Update the status text in the GUI.
Update the status text in the GUI .
private void updateStatusText() {
        String message = "Test: " + testName + "  View: ";
        Spatial.CullHint cull = cgModel.getLocalCullHint();
        message += (cull == Spatial.CullHint.Always) ? "NOmeshes" : "Meshes";
        boolean debug = bulletAppState.isDebugEnabled();
        if (debug) {
            message += "+" + describePhysicsDebugOptions();
        }
        message += sv.isEnabled() ? "+Skeleton" : "";
        message += isPaused() ? "  PAUSED" : "";
        double energy = dac.kineticEnergy();
        if (MyMath.isFiniteDouble(energy)) {
            message += String.format("  KE=%f", energy);
        }
        statusText.setText(message);
    }
private void updateStatusText ( ) { String message = "Test: " + testName + "  View: " ; Spatial . CullHint cull = cgModel . getLocalCullHint ( ) ; message += ( cull == Spatial . CullHint . Always ) ? "NOmeshes" : "Meshes" ; boolean debug = bulletAppState . isDebugEnabled ( ) ; if ( debug ) { message += "+" + describePhysicsDebugOptions ( ) ; } message += sv . isEnabled ( ) ? "+Skeleton" : "" ; message += isPaused ( ) ? "  PAUSED" : "" ; double energy = dac . kineticEnergy ( ) ; if ( MyMath . isFiniteDouble ( energy ) ) { message += String . format ( "  KE=%f" , energy ) ; } statusText . setText ( message ) ; }
Update the status text in the GUI.
Update the status text in the GUI .