Cursor « Drag Drop « Java Swing Q&A





1. Getting the Java Swing 'No Drag' Cursor    stackoverflow.com

Is it possible to get a reference to Swing "no Drag "Cursor ,since it is OS Specific, or maybe override it

2. Netscape cursor during drag & drop    coderanch.com

3. Openhand (drag) cursor    coderanch.com

4. drag and drop cursor    coderanch.com

6. How to change mouse cursor during drag and drop    coderanch.com

The canImport method isn't called very often during the drag operation. You need something that can keep up with the mouse during drag ops. Something like a MouseMotionListener. But dnd events are not sent to these listeners. For j2se 1.5- you are left with finding a way to do this with classes in the java.awt.dnd package. I would investigate a DropTargetListener/Adapter ...

7. Drag cursor not changing, but drop succeeding.    coderanch.com

I've got a JTree as a drop target. I can drag leaf elements around within the tree just fine, and the cursor changes as appropriate when it's over a legal vs. illegal drop location. I have another drag source which is a JList in the same layout. I can drag from there and successfully drop onto the JTree (the list is ...