On Mon, 31 Aug 2026 17:40:52 GMT, Alexander Zvegintsev <[email protected]>
wrote:
>> test/jdk/java/awt/xembed/server/TestXEmbedServerJava.java line 46:
>>
>>> 44: System.setProperty("sun.awt.xembedserver", "true");
>>> 45:
>>> 46: String instruction =
>>
>> <img width="1038" height="436" alt="image"
>> src="https://github.com/user-attachments/assets/c04566f1-95b9-4bff-89e6-fc3f89ef99bc"
>> />
>> This does not look user-friendly.
>>
>> The instruction window is obscured by the test window. In addition, the
>> instructions are not fully visible because the window is too small, so the
>> user has to manually adjust the window position and size for every test run.
>>
>> BTW, this may be a good candidate for using `PassFailJFrame`.
>
>> The instructions are not fully visible because the window is too small
>
> This still an issue:
>
> <img width="1176" height="630" alt="Image"
> src="https://github.com/user-attachments/assets/3a9f5c93-9b6d-4de6-a482-8c3c1e8bcc7c"
> />
>
> Why do we need a scrollbar? We have plenty of space even on 1920x1080 screen.
Have you tested the updated version?
<img width="993" height="474" alt="Image"
src="https://github.com/user-attachments/assets/9f681f94-8c34-40ff-a0ae-7d8147de1877"
/>
The instruction window overlaps with the test windows.
Every time the test is started, the test user has to manually rearrange the
windows or switch between them to read the instructions and follow them in the
test window.
Why not make the window's arrangement convenient from the start?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/31546#discussion_r3906454305