changeset 49687:23ffd7bf415e

8200343: Minor JViewport documentation typo Reviewed-by: serb, pkbalakr
author kaddepalli
date Mon, 02 Apr 2018 16:56:58 +0530
parents 007463851678
children c4460ca1f08c
files src/java.desktop/share/classes/javax/swing/JViewport.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.desktop/share/classes/javax/swing/JViewport.java	Mon Apr 02 16:52:11 2018 +0530
+++ b/src/java.desktop/share/classes/javax/swing/JViewport.java	Mon Apr 02 16:56:58 2018 +0530
@@ -61,7 +61,7 @@
  * <p>
  * <b>NOTE:</b>We have implemented a faster scrolling algorithm that
  * does not require a buffer to draw in. The algorithm works as follows:
- * <ol><li>The view and parent view and checked to see if they are
+ * <ol><li>The view and parent view are checked to see if they are
  * <code>JComponents</code>,
  * if they aren't, stop and repaint the whole viewport.
  * <li>If the viewport is obscured by an ancestor, stop and repaint the whole