On Thu, 21 Jan 2021 21:34:25 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
>> Dmitry Markov has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Use endComposition() instead of endCompositionNative() > > Marked as reviewed by aivanov (Reviewer). > Hi, > > AWT's `TextComponent` is a `peered` input client, and Swing's > `JTextComponent` is an `active` input client. Thus it is OK to behave > differently. I would expect that AWT's one behaves as the same as native > Windows apps, and Swing's one should commit text into the component that has > lost the focus. Thank you for confirmation! With the fix we have the same behaviour as you described. ------------- PR: https://git.openjdk.java.net/jdk/pull/2142