Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Drag and Dropping within JTable  RSS feed

 
Dan King
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone explain what is needed in order to allow drag and drop within a JTable? I've searched online and found some help links, but I'm still unclear about the following:

  • Does my table model need to implement a specific interface?
  • Do I need to provide a re-implemented TransferHandler to the JTable? If yes, which of the methods of the TransferHandler must I override?


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