RFR: 8367348: Enhance PassFailJFrame to support links in HTML [v4]

Weijun Wang weijun at openjdk.org
Wed Sep 10 17:15:47 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:

  javadoc refine

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/27197/files
  - new: https://git.openjdk.org/jdk/pull/27197/files/408307a2..c71d110f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27197&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27197&range=02-03

  Stats: 4 lines in 1 file changed: 1 ins; 0 del; 3 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