Class JLabelHTMLlink

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants

public class JLabelHTMLlink
extends JLabel
An extension of JLabel to support interactive links.
See Also:
Serialized Form
Recent revisions:
2.7.0
  • Constructor Details

    • JLabelHTMLlink

      public JLabelHTMLlink​(String label, String url)
      Create a Swing HTML link.
      Parameters:
      label - of the link
      url - of the link
    • JLabelHTMLlink

      public JLabelHTMLlink​(String label, String tooltip, Runnable runOnClick)
    • JLabelHTMLlink

      public JLabelHTMLlink​(String htmlText, String url, String tooltip)
    • JLabelHTMLlink

      public JLabelHTMLlink​(String htmlText, String url, String tooltip, boolean highlight)
  • Method Details

    • setUrl

      public void setUrl​(String url)
    • setLabelText

      public void setLabelText​(String text)