On Fri, 7 Jun 2024 20:34:23 GMT, Alisen Chung <ach...@openjdk.org> wrote:

>> Add a check for previous focused window on modal unblocking. If the owner of 
>> a closing dialog was the last focused window, then the owner of the dialog 
>> should regain focus.
>
> Alisen Chung has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   use == over .equals

What happens when we introduce another component in-between, say for example in 
the test we add one more Frame in-between printDailogButton and mainFrame. 
Which frame does get activated on close of print dialog? The intermediate one 
or mainFrame?

-------------

PR Review: https://git.openjdk.org/jdk/pull/19588#pullrequestreview-2110143435

Reply via email to