src/java.desktop/share/classes/java/awt/List.java
Print this page
@@ -1650,11 +1650,11 @@
return null; // list elements can't have children
}
//
- // AccessibleComponent delegatation to parent List
+ // AccessibleComponent delegation to parent List
//
/**
* Get the background color of this object.
*
@@ -1857,11 +1857,11 @@
* Gets the location of the object relative to the parent in the
* form of a point specifying the object's top-left corner in the
* screen's coordinate space.
*
* @return An instance of Point representing the top-left corner of
- * the objects's bounds in the coordinate space of the screen; null
+ * the object's bounds in the coordinate space of the screen; null
* if this object or its parent are not on the screen
* @see #getBounds
* @see #getLocationOnScreen
*/
public Point getLocation() {
@@ -1905,11 +1905,11 @@
}
/**
* Returns the size of this object in the form of a Dimension
* object. The height field of the Dimension object contains this
- * objects's height, and the width field of the Dimension object
+ * object's height, and the width field of the Dimension object
* contains this object's width.
*
* @return A Dimension object that indicates the size of this
* component; null if this object is not on the screen
* @see #setSize