<AWT Dev> RFR: 8258805: Japanese characters not entered by mouse click on Windows 10 [v2]
Ichiroh Takiguchi
itakiguchi at openjdk.java.net
Fri Jan 22 08:16:46 UTC 2021
On Thu, 21 Jan 2021 21:41:09 GMT, Dmitry Markov <dmarkov at 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
More information about the awt-dev
mailing list