RFR: 8367348: Enhance PassFailJFrame to support links in HTML [v2]
Weijun Wang
weijun at openjdk.org
Wed Sep 10 16:51:37 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:
show the caret
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27197/files
- new: https://git.openjdk.org/jdk/pull/27197/files/07dc4502..c8fd7845
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27197&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27197&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 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