diff -r bd380b80f9ea -r ef8a3a2a72f2 jdk/src/share/classes/javax/swing/JViewport.java --- a/jdk/src/share/classes/javax/swing/JViewport.java Tue Oct 29 16:35:20 2013 +0400 +++ b/jdk/src/share/classes/javax/swing/JViewport.java Tue Oct 29 17:01:06 2013 +0400 @@ -463,7 +463,7 @@ // and paint is received another repaint is queued // indicating part of the view is invalid. There // is no way for JViewport to notice another - // repaint has occured and it ends up blitting + // repaint has occurred and it ends up blitting // what is now a dirty region and the repaint is // never delivered. // It just so happens JTable encounters this @@ -585,7 +585,7 @@ * Returns the insets (border) dimensions as (0,0,0,0), since borders * are not supported on a JViewport. * - * @return a Rectange of zero dimension and zero origin + * @return a Rectangle of zero dimension and zero origin * @see #setBorder */ public final Insets getInsets() {