• Post Reply Bookmark Topic Watch Topic
  • New Topic

JTable Header selection  RSS feed

 
ArvindTan Kumar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I m having a JTable in which I m appending columns programatically. When i click on the header of the column(s) that column gets selected. If there are 10 columns and i click on 5 columns then all the 5 columns get selected but there is no way to deselect the columns by clicking on the header again. I want that if a column is already selected and if i click on the header of that column then it should deselect that column.
Can anyone help me out on this issue?

thanks in advance...

Regards,
Arvind
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!