<i18n dev> RFR: 8258805: Japanese characters not entered by mouse click on Windows 10 [v2]
Dmitry Markov
dmarkov at openjdk.java.net
Thu Jan 21 21:46:45 UTC 2021
On Thu, 21 Jan 2021 21:34:25 GMT, Alexey Ivanov <aivanov at 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
More information about the i18n-dev
mailing list