Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to set Button color?
How to set Button color? [message #438261] Fri, 18 June 2004 09:48 Go to next message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
Hi,

I would like to set the color of a Button instance, but neither
myButton.setForeground nor myButton.setBackground did change the
current color.

Any ideas?

Thank you very much,

Daniel Krügler
Re: How to set Button color? [message #438264 is a reply to message #438261] Fri, 18 June 2004 12:09 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Assuming you're running on win32, this is a platform limitation, see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=64957 .

Grant

"Daniel Kr
Re: How to set Button color? [message #438265 is a reply to message #438264] Fri, 18 June 2004 12:11 Go to previous message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
Grant Gayed schrieb:
> Assuming you're running on win32, this is a platform limitation, see
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=64957 .

Yep, I have a Win32 system. Thanks for the hint concerning the bug report!

Greetings,

Daniel
Previous Topic:SWT Image using AWT BufferedImage
Next Topic:setAction in SWT
Goto Forum:
  


Current Time: Thu Apr 25 21:05:22 GMT 2024

Powered by FUDForum. Page generated in 0.02621 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top