Skip to main content

Drag and Drop?

1 reply [Last post]
lobrien9
Offline
Joined: 2007-10-02

Hi guys.

Can someone tell me if it is possible to implement dragging and dragging of objects in a java app? I'm sure it is but I was hoping someone could let me know if it's in Swing or AWT?

Cheers,
Lewis.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
xylifyx
Offline
Joined: 2003-06-22

Drag and drop is one of the hardest features to use in Swing. There is builtin support. Check out

http://java.sun.com/docs/books/tutorial/uiswing/dnd/intro.html

You could also check out

http://furbelow.sourceforge.net/

which makes advanced stuff somewhat easier and prettier.

/Erik Martino