JLabel HTML text does not support translucent text colors

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 17
    • Affects Version/s: 8, 11, 14, 15, 16
    • Component/s: client-libs
    • b05
    • generic
    • generic

      A JLabel with a translucent foreground color properly renders plain text, but with HTML text, the alpha component is discarded and the text is rendered using an opaque color.

      See attached test program.

      See: SwingUtilities2.displayPropertiestoCSS, CSS.stringToColor

            Assignee:
            Prasanta Sadhukhan
            Reporter:
            Alan Snyder
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: