jdk/src/share/classes/javax/swing/ProgressMonitor.java
changeset 21278 ef8a3a2a72f2
parent 20455 f6f9a0c2796b
child 23010 6dadb192ad81
--- a/jdk/src/share/classes/javax/swing/ProgressMonitor.java	Tue Oct 29 16:35:20 2013 +0400
+++ b/jdk/src/share/classes/javax/swing/ProgressMonitor.java	Tue Oct 29 17:01:06 2013 +0400
@@ -650,7 +650,7 @@
          * a set of predefined roles.  This enables assistive technologies to
          * provide a consistent interface to various tweaked subclasses of
          * components (e.g., use AccessibleRole.PUSH_BUTTON for all components
-         * that act like a push button) as well as distinguish between sublasses
+         * that act like a push button) as well as distinguish between subclasses
          * that behave differently (e.g., AccessibleRole.CHECK_BOX for check boxes
          * and AccessibleRole.RADIO_BUTTON for radio buttons).
          * <p>Note that the AccessibleRole class is also extensible, so
@@ -1017,7 +1017,7 @@
          * If there is no selection, but there is
          * a caret, the start and end offsets will be the same.
          *
-         * @return the index into teh text of the end of the selection
+         * @return the index into the text of the end of the selection
          */
         public int getSelectionEnd() {
             AccessibleText at = getNoteLabelAccessibleText();