File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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!
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Change background/foreground color of a disablled object
How to disable JTable cell/row selection?
Can I change the back/foreground color of a disabled JComboBox?
can we change the default selection color of setSelection() in jface
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014