On Wed, 27 Nov 2024 12:47:29 GMT, Dmitry Markov <dmar...@openjdk.org> wrote:
> If AWT/Swing app displays several windows and an user changes the keyboard > layout and then closes the focused window, the app does not keep the keyboard > layout changes. > > It is necessary to sync currentLocale and Windows keyboard layout values in > `WInputMethod` class before component activation. Looks good to me. The keyboard layout is preserved after closing the dialog. I used SwingSet2 and **Show Input Dialog** to test the changes. ------------- Marked as reviewed by aivanov (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/22411#pullrequestreview-2476237306