Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8256019

JLabel HTML text does not support translucent text colors

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 17
    • 8, 11, 14, 15, 16
    • client-libs
    • b05
    • generic
    • generic

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              psadhukhan Prasanta Sadhukhan
              alans Alan Snyder
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: