RFR: 4512626: Non-editable JTextArea provides no visual indication of keyboard focus [v2]
Alexey Ivanov
aivanov at openjdk.org
Mon Dec 5 19:51:18 UTC 2022
On Mon, 5 Dec 2022 18:38:29 GMT, Alexander Zuev <kizune at openjdk.org> wrote:
> My point is that if editable text component can not be visually distinguished from non-editable one it is also not helpful.
Agreed.
Does the background colour* of non-editable text component change in Swing? If not, then non-blinking caret is the way to go so that it contrasts with the editable one.
* On Windows, such controls are usually displayed with darker background, like a static control which corresponds to `JLabel`. On macOS, the Info page displays data in non-editable text controls which match the background of the window.
-------------
PR: https://git.openjdk.org/jdk/pull/11408
More information about the client-libs-dev
mailing list