This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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.
     
    Don't get me started about those stupid light bulbs.
     
    subject: Drag and Dropping within JTable
     
    Similar Threads
    JTable
    Drag and Drop within the JTable
    JTable
    drag and drop
    DND from JTree to JTable