RFR: 8306137: Open source several AWT ScrollPane related tests
Tejesh R
tr at openjdk.org
Tue Apr 25 04:59:08 UTC 2023
On Mon, 24 Apr 2023 18:52:17 GMT, Phil Race <prr at openjdk.org> wrote:
>>> I preferred asynchronous EDT would be better since its finally block. Is there any particular reason that we should use `invokeAndWait` than `invokeLater`?
>>
>> You want to **wait** until the frame is disposed of before exiting the main thread otherwise it doesn't make sense.
>
> yes, I just noticed this in a different proposed change and I agree wait makes more sense.
Ok, didn't think in that sense, I'll better use invokeAndWait.....
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13621#discussion_r1176005897
More information about the client-libs-dev
mailing list