Thanks for the reproducer.

JTextPane by itself does work correctly and has the right background and
text colors from the theme, but when getting the TextPane.background
color property the theme color is not being respect.

I haven't found any open issues in OpenJDK upstream about this problem
and so far it seems to affect all codebases I have looked at (OpenJDK
8-16). To address that I have send a message to the swing mailing about
this. I will add more comments when I get a reply.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1894419

Title:
  Missing TextPane.background property in GTKLookAndFeel causes white
  background on dark theme

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1894419/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to