This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Drag and Dropping within JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Drag and Dropping within JTable" Watch "Drag and Dropping within JTable" New topic
Author

Drag and Dropping within JTable

Dan King
Ranch Hand

Joined: Mar 18, 2009
Posts: 84
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.
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Drag and Dropping within JTable