< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/basic/BasicListUI.java

Print this page

        

@@ -2224,11 +2224,11 @@
                             visRect.y + visRect.height) {
                             p.y = cellBounds.y - 1;
                             index = list.locationToIndex(p);
                             cellBounds = list.getCellBounds(index, index);
                         }
-                        // if index isn't greater then lead
+                        // if index isn't greater than lead
                         // try to go to cell next after lead
                         if (cellBounds.y <= leadRect.y) {
                             p.y = leadRect.y + leadRect.height;
                             index = list.locationToIndex(p);
                         }
< prev index next >