A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Change background/foreground color of a disablled object
Joined: Mar 20, 2008
Aug 29, 2011 04:30:21
How I can change background/foreground color of a disablled object (i.e.
and so on..)?
Thank you, very much!
Joined: Mar 09, 2010
Aug 29, 2011 04:49:58
out. You can change the back-ground colour. Please go through the API.
Joined: Jul 26, 2007
Aug 29, 2011 07:13:52
You can use
to manipulate the TextField.disabledBackground.
You will also find this a useful read
*The author Rob Camick is one of the active contributors here at the Ranch.
How to ask questions
Donate a pint, save a life!
Onff-turn it on!
subject: Change background/foreground color of a disablled object
can we change the default selection color of setSelection() in jface
How to disable JTable cell/row selection?
Can I change the back/foreground color of a disabled JComboBox?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014