| Author |
Change background/foreground color of a disablled object
|
D. Formenton
Ranch Hand
Joined: Mar 20, 2008
Posts: 46
|
|
Hi,
How I can change background/foreground color of a disablled object (i.e. JCheckBox, JTextField and so on..)?
Thank you, very much!
Domenico
|
 |
bhanu chowdary
Ranch Hand
Joined: Mar 09, 2010
Posts: 256
|
|
|
Check this out. You can change the back-ground colour. Please go through the API.
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8436
|
|
You can use UIManager to manipulate the TextField.disabledBackground.
You will also find this a useful read http://tips4java.wordpress.com/2008/10/09/uimanager-defaults/ *
*The author Rob Camick is one of the active contributors here at the Ranch.
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
 |
|
|
subject: Change background/foreground color of a disablled object
|
|
|