On Mon, 24 Apr 2023 18:36:56 GMT, Tejesh R <[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. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/13621#discussion_r1175660257
