[jdk20] RFR: 8299077: [REDO] JDK-4512626 Non-editable JTextArea provides no visual indication of keyboard focus [v2]

Alexander Zuev kizune at openjdk.org
Thu Feb 9 23:32:57 UTC 2023


On Thu, 9 Feb 2023 19:42:09 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> src/java.desktop/share/classes/javax/swing/text/DefaultCaret.java line 373:
>> 
>>> 371:     // --- FocusListener methods --------------------------
>>> 372: 
>>> 373:     /**
>> 
>> I guess everybody noticed the specification of this method.
>>>This is implemented to set the caret to visible if the component is editable.
>> 
>> That should be updated? And overall it seems the whole behavior change required CSR.
>
> ping

The documented behaviour does not change so no CSR is required. Documentation does not specify what happens when component is not editable it only mentions what this method does about the editable component. Amending the documentation on the other hand would require the CSR.

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

PR: https://git.openjdk.org/jdk20/pull/68



More information about the client-libs-dev mailing list