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!

JtextFiled unEditable color

843804Mar 9 2004 — edited Feb 21 2005
Is there a way to set the color of the text field so that if it is not editable it will be shown?
I dont want to change the backgroung when i set editable...because the background can change and i will have to keep the old background color for each text field....
Is there a better way to control this color?
It is hardly noticeable that the textfield is not editable....
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 21 2005
Added on Mar 9 2004
12 comments
340 views