--- old/src/java.desktop/share/classes/java/awt/event/MouseEvent.java 2015-10-14 20:39:55.182830731 +0400 +++ new/src/java.desktop/share/classes/java/awt/event/MouseEvent.java 2015-10-14 20:39:54.998830739 +0400 @@ -526,11 +526,11 @@ * {@link java.awt.MouseInfo#getNumberOfButtons() MouseInfo.getNumberOfButtons()} * if the mouse has more than three buttons. * - * @throws IllegalArgumentException if {@code button} is less then zero + * @throws IllegalArgumentException if {@code button} is less than zero * @throws IllegalArgumentException if {@code source} is null - * @throws IllegalArgumentException if {@code button} is greater then BUTTON3 and the support for extended mouse buttons is + * @throws IllegalArgumentException if {@code button} is greater than BUTTON3 and the support for extended mouse buttons is * {@link Toolkit#areExtraMouseButtonsEnabled() disabled} by Java - * @throws IllegalArgumentException if {@code button} is greater then the + * @throws IllegalArgumentException if {@code button} is greater than the * {@link java.awt.MouseInfo#getNumberOfButtons() current number of buttons} and the support * for extended mouse buttons is {@link Toolkit#areExtraMouseButtonsEnabled() enabled} * by Java @@ -701,11 +701,11 @@ * {@link java.awt.MouseInfo#getNumberOfButtons() MouseInfo.getNumberOfButtons()} * if the mouse has more than three buttons. * - * @throws IllegalArgumentException if {@code button} is less then zero + * @throws IllegalArgumentException if {@code button} is less than zero * @throws IllegalArgumentException if {@code source} is null - * @throws IllegalArgumentException if {@code button} is greater then BUTTON3 and the support for extended mouse buttons is + * @throws IllegalArgumentException if {@code button} is greater than BUTTON3 and the support for extended mouse buttons is * {@link Toolkit#areExtraMouseButtonsEnabled() disabled} by Java - * @throws IllegalArgumentException if {@code button} is greater then the + * @throws IllegalArgumentException if {@code button} is greater than the * {@link java.awt.MouseInfo#getNumberOfButtons() current number of buttons} and the support * for extended mouse buttons is {@link Toolkit#areExtraMouseButtonsEnabled() enabled} * by Java @@ -865,7 +865,7 @@ *
  • 2 ({@code BUTTON2}) *
  • 3 ({@code BUTTON3}) * - * Button numbers greater then {@code BUTTON3} have no constant identifier. So if a mouse with five buttons is + * Button numbers greater than {@code BUTTON3} have no constant identifier. So if a mouse with five buttons is * installed, this method may return the following values: *