Skip to content

Support html hyperlinks in labels and messages #39

Open
@imagejan

Description

@imagejan

When using a hyperlink in a widget label or message:

#@ String (value = "<html><a href=\"http://imagej.net\">Link</a> in a message</html>", visibility = "MESSAGE", persist = false) message
#@ Integer (label = "<html><a href=\"http://imagej.net\">Link</a> in a label</html>", value = 42) number

the links are rendered blue and underlined, but they're not active hyperlinks.

We should improve SwingMessageWidget to support links by adding an ActionListener and calling platformService.open(url).

This was brought up by @LauLauThom, see this forum topic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions