On Mon, 24 Apr 2023 18:52:17 GMT, Phil Race <[email protected]> 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

Reply via email to