5109918: Wrong documentation for JSpinner.DateEditor constructor
authorserb
Wed, 13 May 2015 19:19:03 +0300
changeset 30931 dad3f622d47a
parent 30930 855dbf52e45d
child 30932 1588ecb216fd
5109918: Wrong documentation for JSpinner.DateEditor constructor Reviewed-by: alexsch, azvegint
jdk/src/java.desktop/share/classes/javax/swing/JSpinner.java
--- 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