RFR: 4512626: Non-editable JTextArea provides no visual indication of keyboard focus
Sergey Bylokhov
serb at openjdk.org
Wed Dec 7 10:54:12 UTC 2022
On Tue, 6 Dec 2022 12:01:13 GMT, Alexander Zuev <kizune at openjdk.org> wrote:
> The library does not provide an ability to set caret to visible permanently in case of text component being non-editable. Every time focus will change the caret will change too. One would have to implement a custom caret that overrides this logic.
If that is not possible I suggest providing that functionality so applications will be able to use that. Probably even provide some predefined cursors, like "faded"/"blurred"/nonblinked/etc. That could be configured per L&F as well.
-------------
PR: https://git.openjdk.org/jdk/pull/11408
More information about the client-libs-dev
mailing list