It's a Windows limitation. You
can't set the colors of a push button.
Qian Qiao <qian.qiao@xxxxxxxxx> Sent by: platform-swt-dev-admin@xxxxxxxxxxx
07/27/2004 01:47 PM
Please respond to
SWT development <platform-swt-dev@xxxxxxxxxxx>
& foreground colors of a Button widget
I am currently working on a project that uses SWT and JFace.
Currently my code generates a set of buttons. And I decided to color
The SWT api suggests the Button inherit setBackground(Color) and
setForeground(Color) from Control, however, invoking these methods has
no effect on the look of the button.
Any suggestions or alternatives?
Thanks in advance.
Money can't buy everything.
Sometimes money can't even buy a gun...
platform-swt-dev mailing list