Name: rmT116609 Date: 02/28/2001
$ java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
The documentation seems to be in error.
http://java.sun.com/j2se/1.3/docs/api/java/awt/dnd/DropTargetDragEvent.html#acceptDrag(int)
I believe the "dragActionChanged" in the following paragraph should say
"dropActionChanged" .
acceptDrag(int dragOperation)
Accept the drag This method should be called from a
DropTargetListeners dragEnter(), dragOver() and dragActionChanged()
methods if the implementation wishes to accept an operation from
the
srcActions other than the one selected by the user as represented
by the
dropAction.
(Review ID: 117816)
======================================================================