diff -r bd380b80f9ea -r ef8a3a2a72f2 jdk/src/share/classes/javax/swing/AbstractButton.java --- a/jdk/src/share/classes/javax/swing/AbstractButton.java Tue Oct 29 16:35:20 2013 +0400 +++ b/jdk/src/share/classes/javax/swing/AbstractButton.java Tue Oct 29 17:01:06 2013 +0400 @@ -330,7 +330,7 @@ /** * Sets the state of the button. Note that this method does not * trigger an actionEvent. - * Call doClick to perform a programatic action change. + * Call doClick to perform a programmatic action change. * * @param b true if the button is selected, otherwise false */ @@ -2928,7 +2928,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 * @since 1.3 */ public int getSelectionEnd() {