Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
Okay, I feel pretty sheepish about that silly socket comment, especially now that I looked a little at java.awt.dnd (at first I thought you were referring to Dungeons and Dragons, or something). I was just trying to drive home the statement that I hadn't done drag and drop with Java, but do I know you shouldn't hose the clipboard in the process. There is a more in-depth article on the subject at JavaWorld: - mfg > In my opinion, extending DataFlavor to include a field (imageFlavor) and using DragSource.startDrag() which takes an image as a parameter should solve the problem. > or simply, drag the path of the image and let the target container take care of loading the image. > Anyways, Avin, let us know how you finished it (or if you need more ideas)! > -Jay.
Replies: |
Sponsored Links
|