aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Is it possible to Drag and Drop among columns in a Same 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 "Is it possible to Drag and Drop among columns in a Same JTable" Watch "Is it possible to Drag and Drop among columns in a Same JTable" New topic
Author

Is it possible to Drag and Drop among columns in a Same JTable

buntha Choudhary
Ranch Hand

Joined: Jul 03, 2009
Posts: 136

Can I use drag and drop operation among the columns of a JTable?
Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2200
    
    7
Extended Dnd has an example of a custom TableTransferHandler that you should be able to modify for your requirements.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is it possible to Drag and Drop among columns in a Same JTable