Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5018712

NO WAY TO TELL WHAT IS BEING DRAGGED UNTIL DROP OCCURS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.1
    • client-libs
    • x86
    • windows_xp



      Name: rv122619 Date: 03/23/2004

      We use drag and drop in several places in some Java applications. For example, in the custom tree, we allow dragging of nodes to provide organization of the nodes. In this case, there are some nodes you can never drop on and there are some nodes you can drop on only if the dragged objects pass certain criteria. The drag operation may start outside of the custom tree. There is no way to get what the dragged objects are in dragEnter and dragOver methods of the DropTargetListener. Simply put, there is no getTransferable method on DropTargetDragEvent.

      Source code for demonstration can be found in Bug ID 5018702.


      ======================================================================

            agerasimsunw Alexander Gerasimov (Inactive)
            rverabel Raghu Verabelli (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: