RFR: 8367348: Enhance PassFailJFrame to support links in HTML [v2]
Weijun Wang
weijun at openjdk.org
Wed Sep 10 16:51:39 UTC 2025
On Wed, 10 Sep 2025 16:28:24 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
>> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
>>
>> show the caret
>
> test/jdk/java/awt/regtesthelpers/PassFailJFrame.java line 657:
>
>> 655: text.setBorder(createTextBorder());
>> 656: text.setCaretPosition(0);
>> 657: text.getCaret().setVisible(false);
>
> Hiding the caret could be undesirable: if a tester wants to select text using keyboard, there's no way to see where the caret is.
>
> The caret used to be hidden for read-only text components, now it's displayed by default but it doesn't blink, see [JDK-8299077](https://bugs.openjdk.org/browse/JDK-8299077).
Sure, I'll show it.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27197#discussion_r2337330550
More information about the client-libs-dev
mailing list