JDK-8049065 : [JLightweightFrame] Support DnD for SwingNode
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.
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
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.
The fix has been reviewed on awt-dev@ and openjfx-dev@. Approvals:
Anton: commented in JIRA: https://javafx-jira.kenai.com/browse/RT-37149