> Issue is 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. > As per https://www.w3schools.com/cssref/func_rgba.asp, CSS supports rgba() to > support alpha and render translucent text color > but support for rgba() is not present in JDK html text rendering. > > Added support for rgba() to render translucent text color.
Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision: Revert unneeded additional code ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/1158/files - new: https://git.openjdk.java.net/jdk/pull/1158/files/bf0c84ae..f98cae53 Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1158&range=02 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1158&range=01-02 Stats: 64 lines in 3 files changed: 10 ins; 42 del; 12 mod Patch: https://git.openjdk.java.net/jdk/pull/1158.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/1158/head:pull/1158 PR: https://git.openjdk.java.net/jdk/pull/1158