• Post Reply Bookmark Topic Watch Topic
  • New Topic

JTable selections  RSS feed

 
zoe goddard
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd like to have single selections in my table and to have it highlight both the row and the column for the selected cell, so it looks like a plus sign ( + ).
I've tried lots of things but all I can do is get the cell, the row, or the column separately.
Does anyone know how I can do this?
 
zoe goddard
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found a way to do it, it may not be the best. I modified the cell renderer and mucked about with the isSelected field.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!