wood burning stoves*
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 Murach's Java Servlets and JSP this week in the Servlets 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.
     
    jQuery in Action, 2nd edition
     
    subject: Drag and Dropping within JTable
     
    Similar Threads
    JTable
    Drag and Drop within the JTable
    JTable
    drag and drop
    DND from JTree to JTable