private static void checkFocusLostBehavior(int behavior) {
    if (behavior != JFormattedTextField.COMMIT
        && behavior != JFormattedTextField.COMMIT_OR_REVERT
        && behavior != JFormattedTextField.REVERT
        && behavior != JFormattedTextField.PERSIST)
      throw new IllegalArgumentException(
          PROPERTY_NAME_FOCUS_LOST_BEHAVIOR
              + ": unrecognized behavior");
  }
private static void checkFocusLostBehavior(int behavior)