On Thu, 21 Jan 2021 21:41:09 GMT, Dmitry Markov <dmar...@openjdk.org> wrote:

>> 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.

Thanks, Dmitry.
I tested your new fix.
It's fine now on Swing and AWT.

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

PR: https://git.openjdk.java.net/jdk/pull/2142

Reply via email to