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

[FXDnD]: in removeDropTarget the isDropTargetListenerInstalled field isn't reset

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u40
    • Fix Version/s: 10
    • Component/s: javafx
    • Labels:
      None

      Description

      If you set the dropTarget of a SwingNode's content JComponent to null once, the drag event handler are removed but the mentioned field isn't reset.
      If you want to use a new DropTarget later, FXDnD.addDropTarget won't register the event handler for the drag events and the DropTarget doesn't receive any events.

        Attachments

          Activity

            People

            • Assignee:
              psadhukhan Prasanta Sadhukhan
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: