Changing cursor in Jtree Drag Drop

Hi All,How can I change the icon of DragDrop cursor to 'NoDrop' icon in DragTargetListener.dragOver(DropTargetDragEvent dtde) method. Can anyone please help me out.Thanks in advance.RegardsClefies R D'souza
[251 byte] By [clefies@gmail.coma] at [2007-11-27 6:33:29]
# 1
Just call dtde.rejectDrag();You can see my example here: http://forum.java.sun.com/thread.jspa?threadID=5127305&messageID=9459907
Rodney_McKaya at 2007-7-12 17:59:23 > top of Java-index,Desktop,Core GUI APIs...
# 2
Hi Rodney,Actually, calling dtde.rejectDrop() method will cancel the DnD operation, which I don't want to. I just want to change the cursor.Thanks & RegardsClefies R D'Souza
clefies@gmail.coma at 2007-7-12 17:59:23 > top of Java-index,Desktop,Core GUI APIs...
# 3
Hi Rodney,Pls. Ignore my previous reply.Actually, calling dtde.rejectDrag() method will cancel the DnD operation, which I don't want to. I just want to change the cursor.Thanks & RegardsClefies R D'Souza
clefies@gmail.coma at 2007-7-12 17:59:23 > top of Java-index,Desktop,Core GUI APIs...