again ... 2006-03-15 Lillian Angel <[EMAIL PROTECTED]>
* java/awt/Container.java (getComponentAt): Fixed documentation. (getComponentAt): Likewise. On Wed, 2006-03-15 at 14:13 -0500, Lillian Angel wrote: > I promise to work on this annoying habit of attaching the wrong > patches. :) > > On Wed, 2006-03-15 at 13:40 -0500, Lillian Angel wrote: > > Fixed the documentation for a few Container methods. > > > > 2006-03-13 Lillian Angel <[EMAIL PROTECTED]> > > > > * java/awt/Container.java > > (getComponentAt): Fixed documentation. > > (getComponentAt): Likewise. > > (findComponentAt): Likewise. > > (findComponentAt): Likewise. > >
Index: java/awt/Container.java =================================================================== RCS file: /sources/classpath/classpath/java/awt/Container.java,v retrieving revision 1.89 retrieving revision 1.88 diff -u -r1.89 -r1.88 --- java/awt/Container.java 15 Mar 2006 19:34:29 -0000 1.89 +++ java/awt/Container.java 15 Mar 2006 18:40:10 -0000 1.88 @@ -965,9 +965,9 @@ * unless the point does not exist within this container, in which * case <code>null</code> is returned. * - * When components overlap, the first component is returned. The component - * that is closest to (x, y), containing that location, is returned. - * Heavyweight components take precedence of lightweight components. + * The top-most child component is returned in the case where components overlap. + * This is determined by finding the component closest to (x,y) and contains + * that location. Heavyweight components take precedence of lightweight components. * * This function does not ignore invisible components. If there is an invisible * component at (x,y), it will be returned. @@ -991,9 +991,9 @@ * unless the point does not exist within this container, in which * case <code>null</code> is returned. * - * When components overlap, the first component is returned. The component - * that is closest to (x, y), containing that location, is returned. - * Heavyweight components take precedence of lightweight components. + * The top-most child component is returned in the case where components overlap. + * This is determined by finding the component closest to (x,y) and contains + * that location. Heavyweight components take precedence of lightweight components. * * This function does not ignore invisible components. If there is an invisible * component at (x,y), it will be returned.