Reputation: 31
JavaFX Drag and Drop Phases:
Can I do something after phase 3 on source side? (Source and Target is different applications). For example: I want unpack file from archive after onDragDropped and transfer this file to Target. How can i do it?
Upvotes: 3
Views: 349
Reputation: 5833
Short answer: No
setOnDragDropped(...)
literally happens just after you finished the drag&drop gesture. There is nothing after that, except of course the notification which is sent to the source for setOnDragDone(...)
.
Why can't you unpack your file in setOnDragDropped(...)
? This seems to be the perfect place to do so
Upvotes: 1