RFR: 8367348: Enhance PassFailJFrame to support links in HTML [v3]
Weijun Wang
weijun at openjdk.org
Wed Sep 10 16:57:20 UTC 2025
> 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:
the link
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27197/files
- new: https://git.openjdk.org/jdk/pull/27197/files/c8fd7845..408307a2
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27197&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27197&range=01-02
Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/27197.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27197/head:pull/27197
PR: https://git.openjdk.org/jdk/pull/27197
More information about the client-libs-dev
mailing list