This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Changing color in particular row

 
Andy Wong
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,
I would like to highlight (by changing color or font) in a particular row/cell (not column). How do I implement it? I have tried List Selection, but it is not the case; I just want change the appearance, not affect the users' selection. Please advise.
Regards,
 
Rene Liebmann
Ranch Hand
Posts: 196
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
this topic was discussed many times before. Please use the search for finding something about it. I tried the keywords "Row Color".
Just a hint, you have to write your own TableCellRenderer. Mostly you can extend from DefaultTableCellRenderer. There you need to implement one function getTableCellRendererComponent.
Bye
Rene
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic