File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 ?