• Post Reply Bookmark Topic Watch Topic
  • New Topic

Mulitple row move, not copy, in JTable using DnD  RSS feed

 
Brian Snyder2002
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I get multiple rows in a JTable to move, not copy? I am able to use the copy with no problem with one or more rows. The problem occurs when I select say 10 rows and begin to drag them without the Ctrl button. All the rows except the one I have clicked on become deselected. In turn , this means, that only one item is being moved and not all of them.
Any ideas? Many thanks in advance!!!
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!