On Wed, 11 Nov 2020 08:00:09 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> wrote:
> 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. This pull request has now been integrated. Changeset: 44c83794 Author: Prasanta Sadhukhan <psadhuk...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/44c83794 Stats: 196 lines in 2 files changed: 190 ins; 0 del; 6 mod 8256019: JLabel HTML text does not support translucent text colors Reviewed-by: serb ------------- PR: https://git.openjdk.java.net/jdk/pull/1158