wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes changing JTable cell's font color ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "changing JTable cell Watch "changing JTable cell New topic
Author

changing JTable cell's font color ?

Grigory Ptashko
Greenhorn

Joined: Feb 21, 2003
Posts: 9
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

Joined: May 17, 2001
Posts: 2823
You need a renderer for your table. Here is an example with colored cells.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: changing JTable cell's font color ?
 
Similar Threads
Different colored text?
change font size or color in javascript alert box
Changing color of a tables' cell
TableCellRenderer
XSLT Help