On Wed, 18 Sep 2024 20:12:08 GMT, Alexey Ivanov <[email protected]> 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
