RFR: 8334509: Cancelling PageDialog does not return the same PageFormat object [v2]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Thu Jun 20 03:38:34 UTC 2024
On Wed, 19 Jun 2024 10:32:28 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
>> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Test fix
>
> test/jdk/java/awt/print/PrinterJob/PageDialogCancelTest.java line 57:
>
>> 55: robot.waitForIdle();
>> 56: robot.delay(500);
>> 57: });
>
> These key presses are sent to whatever window has focus… before the Page Dialog is shown and after it's hidden. Is pressing `VK_ESCAPE` not enough? Pressing Esc is the same as clicking Cancel button.
Yes, VK_ESCAPE worked..Modified to use that...Thanks..
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19786#discussion_r1646881869
More information about the client-libs-dev
mailing list