Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Highlight Cell  RSS feed

 
Mini Pilla
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Can I highlight a single cell in JTable?I know there is default selection but I want to highlight a single cell with different color.
Thanx
Rajani
[ April 23, 2002: Message edited by: Rajani Katta ]
 
Rajendar Goud
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rajani,
try using isCellSelected(int row ,int col)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!