Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Background color in disabled JTextField

843805Apr 13 2006 — edited Apr 13 2006
Hi,

If one explicitly set a background color for a JTextField component it doesn't keep the same behaviour, as it keeps the color when its state changes to disabled, instead of turning to the traditional grey.

There is any way to avoid this?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 11 2006
Added on Apr 13 2006
1 comment
1,147 views