private void UpdateResultingFPS() {
        float FPS = 0;
        if (FPSField.getText().isEmpty()) {
            FPS = Parent.Camera.GetFPS();
        } else {
            FPS = Float.parseFloat(FPSField.getText());
        }

        if (SkipSecondsButton.isChecked()) {
            if (SkipSecondsField.getText().isEmpty() || SkipSecondsField.getText().equals("0")) {
                if (!FPSField.getText().isEmpty()) {
                    CalculatedFPS.setText("resulting FPS: " + FPS);
                }
            } else {
                CalculatedFPS.setText("resulting FPS: " + Utils.Round(1.0f / (Float.parseFloat(SkipSecondsField.getText())), 2));
            }
        }
        if (SkipFramesButton.isChecked()) {
            if (SkipFramesField.getText().isEmpty() || SkipFramesField.getText().equals("0")) {
                if (!FPSField.getText().isEmpty()) {
                    CalculatedFPS.setText("resulting FPS: " + FPS);
                }
            } else {
                CalculatedFPS.setText("resulting FPS: " + Utils.Round(FPS / (1 + Integer.parseInt(SkipFramesField.getText())), 2));
            }
        }
    }