[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] RFC: Window.java setLocationRelativeTo fix
From: |
Thomas Fitzsimmons |
Subject: |
Re: [cp-patches] RFC: Window.java setLocationRelativeTo fix |
Date: |
Fri, 04 Nov 2005 16:23:08 -0500 |
On Fri, 2005-11-04 at 15:37 -0500, Lillian Angel wrote:
> I implemented the missing part of setLocationRelativeTo. It appears to
> work in all the cases I have tested.
>
> Can someone review this before I commit it?
This patch works if the window is smaller than the component and nothing
is offscreen but the full placement algorithm is more complicated. See
the javadocs for this method -- you can commit this as-is (since I
assume it fixes a problem for you) but add a FIXME for the other cases
(or just finish it completely :-))
Tom