< prev index next >

src/java.desktop/share/classes/java/awt/Container.java

Print this page

        

@@ -530,11 +530,11 @@
             throw new IllegalArgumentException("illegal component position");
         }
         if (comp.parent == this) {
             if (index == component.size()) {
                 throw new IllegalArgumentException("illegal component position " +
-                                                   index + " should be less then " + component.size());
+                                                   index + " should be less than " + component.size());
             }
         }
         checkAddToSelf(comp);
         checkNotAWindow(comp);
 
< prev index next >