File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic

horizontal scroll in JTable losing rendered cell color

 
sathi rv
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,
I am using a JTable implementing MVC pattern, using AbstractTableModel. Each Rows data is rendered with different Color based on the content, using DefaultTableCellRenderer .
Now, the issue is, Upon horizontal scrolling in the JTable, the Rows data is losing its rendered Color.
Any help on this would be highly appreciated.
 
sathi rv
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
oops! posted under wrong section. sorry.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic