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

Allow multiple calls to DropTargetDropEvent.acceptDrop()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 8
    • client-libs
    • None
    • b06

        Currently the DropTargetDropEvent.acceptDrop() method throws an exception if called multiple times while processing a single DnD event. Looking at its implementation it looks like there's no reason for this. The method only updates a few internal fields which are used when processing the dropComplete() operation. Therefore, before dropComplete() is invoked, the user code should be able to call the acceptDrop() method several times.

        There's a JavaFX bug that depends on this possibility: https://javafx-jira.kenai.com/browse/RT-34283

              anthony Anthony Petrov (Inactive)
              anthony Anthony Petrov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: