diff --git a/src/java.desktop/share/classes/javax/swing/JViewport.java b/src/java.desktop/share/classes/javax/swing/JViewport.java index 44576585435..3fb3b6d76ec 100644 --- a/src/java.desktop/share/classes/javax/swing/JViewport.java +++ b/src/java.desktop/share/classes/javax/swing/JViewport.java @@ -61,7 +61,7 @@ import sun.swing.SwingUtilities2; *

* NOTE:We have implemented a faster scrolling algorithm that * does not require a buffer to draw in. The algorithm works as follows: - *

  1. The view and parent view and checked to see if they are + *
    1. The view and parent view are checked to see if they are * JComponents, * if they aren't, stop and repaint the whole viewport. *
    2. If the viewport is obscured by an ancestor, stop and repaint the whole