File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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.
     
     
    subject: Drag and Dropping within JTable