RFR: 8340365: Position the first window of a window list
Alexey Ivanov
aivanov at openjdk.org
Mon Sep 23 14:40:36 UTC 2024
On Wed, 18 Sep 2024 20:12:08 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
> > > With the proposed change in this pull request, the implementation would use ComponentListener.componentMoved:
> >
> >
> > you mean the implementation of the test ? Perhaps adding the required pattern in the examples would be a good idea.
>
> @prrace Yes, I referred to the implementation of the `LotsOfMenuItemsTest.java` test.
>
> This is more of a workaround until we add better layout options. Yet it looks simple and works well. It still requires the test developer to save references to frames.
Eventually, @kumarabhi006 re-worked the test in #21029, and `LotsOfMenuItemsTest.java` no longer uses the feature of `PassFailJFrame` for creating multiple test windows.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21057#issuecomment-2368483198
More information about the client-libs-dev
mailing list