[jdk20] RFR: 4512626: Non-editable JTextArea provides no visual indication of keyboard focus [v2]
Alexander Zvegintsev
azvegint at openjdk.org
Mon Dec 19 18:20:51 UTC 2022
On Mon, 19 Dec 2022 17:35:43 GMT, Alexander Zuev <kizune at openjdk.org> wrote:
>> The latest version does not work good for me,
>> e.g. with the test above and `textField.getCaret().setBlinkRate(250)`(not `2500`):
>>
>> 1. with `requestFocus(button);`:
>> caret blinks several times and stops
>> on mouse move, focus gained on text field the caret blinks several times and stops again.
>> 2. without `requestFocus(button);`:
>> it doesn't blink until focus out / focus in on the text component
>> after this blinks several times and stops.
>
> That's weird, does not happen on any of my systems. Which OS are you testing on?
Ubuntu 22.04 and it reproduces always.
-------------
PR: https://git.openjdk.org/jdk20/pull/21
More information about the client-libs-dev
mailing list