RFR: 8367348: Enhance PassFailJFrame to support links in HTML [v4]
Alexey Ivanov
aivanov at openjdk.org
Wed Sep 10 17:24:57 UTC 2025
On Wed, 10 Sep 2025 17:15:47 GMT, Weijun Wang <weijun at openjdk.org> wrote:
>> Add HTML link processing ability in instructions. For example:
>>
>> PassFailJFrame.builder()
>> .instructions(htmlWithLinks)
>> .addHyperlinkListener(e -> {
>> if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
>> performActionOnLink(e.getDescription());
>> }
>> })
>>
>> I also take this chance to make a CSS change for fix-width text to show a light-gray background color.
>
> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
>
> javadoc refine
Marked as reviewed by aivanov (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/27197#pullrequestreview-3207127290
More information about the client-libs-dev
mailing list