Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Setting the Button Background
Setting the Button Background [message #460928] Mon, 12 September 2005 05:30 Go to next message
bobbie is currently offline bobbieFriend
Messages: 2
Registered: July 2009
Junior Member
Hi,
I set the Button Background to yellow but it does not display it. Any
reason why this is hapenning?
button.setBackground(SWTResourceManager.getColor(255,255,0))
Re: Setting the Button Background [message #460929 is a reply to message #460928] Mon, 12 September 2005 06:52 Go to previous message
Uwe Peuker is currently offline Uwe PeukerFriend
Messages: 16
Registered: July 2009
Junior Member
It is not possible using Windows. The button color is defined by the windows
theme.
Uwe

"bobbie" <bhawna0@yahoo.com> schrieb im Newsbeitrag
news:ce48507afcb4fa1fd29f6b64826308da$1@www.eclipse.org...
> Hi,
> I set the Button Background to yellow but it does not display it. Any
> reason why this is hapenning?
> button.setBackground(SWTResourceManager.getColor(255,255,0))
>
>
Previous Topic:SelectionListener
Next Topic:scrolling
Goto Forum:
  


Current Time: Sat Aug 17 12:33:38 GMT 2019

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

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

Back to the top