Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

To Highlight a Column in a JTable.  RSS feed

 
A Hari Kiran
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can somebody tell me how to highlight a particular column in a JTable ?
example : I need to highlight column 2 of JTable(with some color say blue) only if it has some data in it.

would be very helpful if you can provide some example as i am a bit new to these rendering concepts.

Regards,
Kiran.
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ashk gnec wrote:


Please check your private messages for an important administrative matter
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
More about renderers and JTable can be found here
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!