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

Can't use DnD events with Mouse events

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • fx2.1
    • javafx
    • Windows XP, JDK 1.7.0_02, JavaFX 2.1. build b07

      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.

            psafrata Pavel Ĺ afrata
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: