• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

changing JTable cell's font color ?

 
Grigory Ptashko
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello.
Can anyone tell me how can I change cell's font color when a value contained in that cell is changed either by hands (clicking and changing) or by anything else ?
Thank you.
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need a renderer for your table. Here is an example with colored cells.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic