RFR: 8294156: Allow PassFailJFrame.Builder to create test UI
Alexander Zvegintsev
azvegint at openjdk.org
Tue Sep 12 18:44:40 UTC 2023
On Tue, 12 Sep 2023 13:37:09 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
> However, to test this case I'll need a (simple) scenario where multiple windows are created.
For example `test/jdk/java/awt/event/MouseEvent/SpuriousExitEnter/SpuriousExitEnter_2.java` is not converted to use PassFailJFrame, but shows instruction window and two test windows.
For these test windows, we can safely reduce the width a lot and arrange them in a row.

Probably we could add some other sophisticated layouts later, e.g.:

But this kind of layout seems to be beyond the scope of this PR, I just wish we hadn't missed the option to add multiple windows at once.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15665#discussion_r1323425586
More information about the client-libs-dev
mailing list