JDK-8049065 : [JLightweightFrame] Support DnD for SwingNode
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-07-02
  • Updated: 2015-06-04
  • Resolved: 2014-08-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
8u40Fixed 9 b30Fixed
This issue tracks changes in JDK necessary to support Drag and Drop in JavaFX SwingNode.

JavaFX issue: https://javafx-jira.kenai.com/browse/RT-37149
[SQE] The fix delegates certain DnD-related operations to JavaFX when a DnD operation is started on a Swing component that is added to a SwingNode JavaFX node. It also provides support for a DropTarget so that you can drop things onto a Swing component within a SwingNode node. In order to test this fix, please refer to the JavaFX JIRA that contains a sample manual test. Note that you will need to use a JavaFX build that contains a fix for RT-37149. However, it is also worth testing a JDK w/o the fix + FX with the fix, and JDK w/ the fix + FX w/o the fix. In either combinations tests should not crash or produce any unexpected results. Obviously, the DnD will only work if both JDK and FX contain the fix. [/SQE]

The fix has been reviewed on awt-dev@ and openjfx-dev@. Approvals: Anton: commented in JIRA: https://javafx-jira.kenai.com/browse/RT-37149 Petr: http://mail.openjdk.java.net/pipermail/awt-dev/2014-August/008353.html