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

Print this page

        

*** 1650,1660 **** return null; // list elements can't have children } // ! // AccessibleComponent delegatation to parent List // /** * Get the background color of this object. * --- 1650,1660 ---- return null; // list elements can't have children } // ! // AccessibleComponent delegation to parent List // /** * Get the background color of this object. *
*** 1857,1867 **** * 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 * if this object or its parent are not on the screen * @see #getBounds * @see #getLocationOnScreen */ public Point getLocation() { --- 1857,1867 ---- * 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 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,1915 **** } /** * 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 * 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 --- 1905,1915 ---- } /** * Returns the size of this object in the form of a Dimension * object. The height field of the Dimension object contains this ! * 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