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

JLabel HTML text does not support translucent text colors

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 17
    • 8, 11, 14, 15, 16
    • 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

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

              Created:
              Updated:
              Resolved: