• Post Reply Bookmark Topic Watch Topic
  • New Topic

Selecting multiple unconnected cells in a JTable

 
Daniel Gallant
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know if multiple cells can be selected without selecting all the cells between them? So, for example, I want to select two cells, [1,1] and [1,2]. Now, when I select those two cells, I get four cells selected. I just want the two I selected.

Is there any way of doing this?

Thanks!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!