Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Background & foreground colors of a Button widget

Hi all,

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
these buttons.

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.

--Joe

-- 
Money can't buy everything.
Sometimes money can't even buy a gun...


Back to the top