changeset 30931:dad3f622d47a

5109918: Wrong documentation for JSpinner.DateEditor constructor Reviewed-by: alexsch, azvegint
author serb
date Wed, 13 May 2015 19:19:03 +0300
parents 855dbf52e45d
children 1588ecb216fd
files jdk/src/java.desktop/share/classes/javax/swing/JSpinner.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/java.desktop/share/classes/javax/swing/JSpinner.java	Wed May 13 18:06:19 2015 +0300
+++ b/jdk/src/java.desktop/share/classes/javax/swing/JSpinner.java	Wed May 13 19:19:03 2015 +0300
@@ -970,7 +970,7 @@
          * and editing the value of a <code>SpinnerDateModel</code>
          * with a <code>JFormattedTextField</code>.  <code>This</code>
          * <code>DateEditor</code> becomes both a <code>ChangeListener</code>
-         * on the spinners model and a <code>PropertyChangeListener</code>
+         * on the spinner and a <code>PropertyChangeListener</code>
          * on the new <code>JFormattedTextField</code>.
          *
          * @param spinner the spinner whose model <code>this</code> editor will monitor