Omair Majid wrote:
So the _correct_ behaviour is that setBackground()/setForeground() are ignored completely? So if a component actually responds to setBackground() or setForeground(), it's a bug?
It's not a bug. It just happens to be so. I mean you shouldn't count on this. Altering colors in GTK L&F rather than in the theme config file is not supported.

I am still a little confused. If closed source jdk allows setting the background, and openjdk doesn't, doesn't that mean openjdk is correct and the fixes should be applied to the closed source jdk? Basically, I am asking what the ideal behaviour should be. Should setBackground()/setForeground() have any effect when using the gtk look and feel?
No they shouldn't.

Reply via email to