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

Can't use DnD events with Mouse events

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: fx2.1
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
    • Environment:

      Windows XP, JDK 1.7.0_02, JavaFX 2.1. build b07

      Description

      I'm trying to build a data mapping app and running into the event issues introduced with DnD. I would like to draw a "rubberbanding" line between "ports". When over the target port, I'd like to Drop some info onto it. The attached code (with commented _port.setOnDragDetected method) does the rubberbanding as described (the ports are enlarged for demonstration). If that code block is uncommented, the Drop works as I need it to but events are no longer delivered for the line drawing. Problem is, both functions are required.

        Attachments

          Activity

            People

            • Assignee:
              psafrata Pavel Ĺ afrata
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: