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!

JTable: setting color of edited cell

843806May 9 2007 — edited May 9 2007
Hello,
Just a simple question - is it possible to modify color of cell I'm currently editing when using JTable? What I mean is, say we got JTable component with some default set cell colors. Display works fine, colors change when I sellect row - however, when I want to edit cell... the cell turns to default style (white background, black font, light blue text highlight).

Is it possible to modify those? I thought it might have something to do with default TextArea look (since selected cell looks exactly like TextArea) but well, I didn't manage to find solution for this.

Thanks in advance,
Jimzy
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 6 2007
Added on May 9 2007
4 comments
473 views