SWT setForeground on Windows 7 and Windows XP

We have SWT applications that use the setForeground method for Windows XP, and they work fine. However, running the latest stable jars of SWT and dll on Win7 seems to indicate that the setForeground method is being ignored. I know that javadoc says this is a hint, but I wanted to know if this is due to something having changed between XP and 7, or, if possible, this is a system parameter for my new installation of Win7.

I found this post: How to set SWT foreground color? , but the main answer finally says that setForeground is ignored in Windows, which is not true in XP. In addition, our problem is not limited to buttons. The same problems arise with groups.

Screenshot comparison

-, , , GC , , , , , , , .

.

+3
2

. , , - XP 7. XP Vista. , , , .

. .

+1

, XP Windows 7, Aero XP. XP XP, .

0

All Articles