-
Bug
-
Resolution: Not an Issue
-
P3
-
7
-
generic
-
windows_xp
The specification for java.awt.dnd.DropTargetDragEvent.acceptDrag() says that the method should be invoked if
"the implementation wishes to accept an operation from the srcActions other than the one selected by the user as represented by the dropAction."
The same specification says that
"This method should be called from a DropTargetListeners dragEnter, dragOver, and dropActionChanged methods"
In fact, if I invoke DropTargetDragEvent.acceptDrag() from DropTargetListeners.dragOver(DropTargetDragEvent dtde) method, the pointer is not changed to "accept" cursor but stays "no drop" cursor.
This behavior is reproducible at least on Windows platform.
"the implementation wishes to accept an operation from the srcActions other than the one selected by the user as represented by the dropAction."
The same specification says that
"This method should be called from a DropTargetListeners dragEnter, dragOver, and dropActionChanged methods"
In fact, if I invoke DropTargetDragEvent.acceptDrag() from DropTargetListeners.dragOver(DropTargetDragEvent dtde) method, the pointer is not changed to "accept" cursor but stays "no drop" cursor.
This behavior is reproducible at least on Windows platform.