--- old/src/java.desktop/share/classes/javax/swing/JFormattedTextField.java 2017-09-03 00:46:59.000000000 -0700 +++ new/src/java.desktop/share/classes/javax/swing/JFormattedTextField.java 2017-09-03 00:46:58.000000000 -0700 @@ -59,27 +59,32 @@ * Possible JFormattedTextField configurations and their descriptions * * - * Value - * Description + * + * Value + * Description * * - * JFormattedTextField.REVERT - * Revert the display to match that of getValue, - * possibly losing the current edit. - * JFormattedTextField.COMMIT - * Commits the current value. If the value being edited - * isn't considered a legal value by the - * AbstractFormatter that is, a - * ParseException is thrown, then the value - * will not change, and then edited value will persist. - * JFormattedTextField.COMMIT_OR_REVERT - * Similar to COMMIT, but if the value isn't - * legal, behave like REVERT. - * JFormattedTextField.PERSIST - * Do nothing, don't obtain a new - * AbstractFormatter, and don't update the value. + * + * JFormattedTextField.REVERT + * Revert the display to match that of {@code getValue}, possibly losing + * the current edit. + * + * JFormattedTextField.COMMIT + * Commits the current value. If the value being edited isn't considered + * a legal value by the {@code AbstractFormatter} that is, a + * {@code ParseException} is thrown, then the value will not change, and + * then edited value will persist. + * + * JFormattedTextField.COMMIT_OR_REVERT + * Similar to {@code COMMIT}, but if the value isn't legal, behave like + * {@code REVERT}. + * + * JFormattedTextField.PERSIST + * Do nothing, don't obtain a new {@code AbstractFormatter}, and don't + * update the value. * * + * * The default is JFormattedTextField.COMMIT_OR_REVERT, * refer to {@link #setFocusLostBehavior} for more information on this. *