File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Drag and Dropping within JTable" Watch "Drag and Dropping within JTable" New topic

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:
    subject: Drag and Dropping within JTable
    It's not a secret anymore!