[jdk20] RFR: 8299077: [REDO] JDK-4512626 Non-editable JTextArea provides no visual indication of keyboard focus
Alexey Ivanov
aivanov at openjdk.org
Wed Dec 21 16:52:03 UTC 2022
On Tue, 20 Dec 2022 23:38:31 GMT, Alexander Zuev <kizune at openjdk.org> wrote:
> Slightly updated original fix - got rid of the extra flasher reset. Tests are fixed to be more stable and pass on the corresponding platforms.
Marked as reviewed by aivanov (Reviewer).
src/java.desktop/share/classes/javax/swing/text/DefaultCaret.java line 1069:
> 1067: }
> 1068: if (component.isEditable()) {
> 1069: if (isBlinkRateSaved) {
Suggestion:
if (component.isEditable() && isBlinkRateSaved) {
Less indentation and the same behaviour.
-------------
PR: https://git.openjdk.org/jdk20/pull/68
More information about the client-libs-dev
mailing list