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 drop 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 drop" Watch "drag and drop" New topic

drag and drop


Joined: Dec 07, 2005
Posts: 1

i have a list on the GUI and need to implement drag and drop functionality on it... as in ... should be able to drag and drop elements of the list and rearrange it ...
am using TransferHandler class etc...

any help would be a big help :-)

David Weitzman
Ranch Hand

Joined: Jul 27, 2001
Posts: 1365
Welcome to JavaRanch, talk_java_2_me. Please revise your name to meet the guidelines in the JavaRanch naming policy. We ask that you use a real first and last name so we can maintain a friendly environment.


- David
Naresh Saw
Ranch Hand

Joined: Sep 03, 2005
Posts: 66
even i m looking for such type of help. As u r making it just tell me the API's available for drag n drop.


naresh<br />SCJP 1.4(86%), SCWCD 1.4(78%)
Jeff Albertson
Ranch Hand

Joined: Sep 16, 2005
Posts: 1780
Package java.awt.dnd

There is no emoticon for what I am feeling!
I agree. Here's the link:
subject: drag and drop
It's not a secret anymore!