-
Bug
-
Resolution: Duplicate
-
P4
-
7u6
-
None
-
2.2.0b08. Win7, MacOsX.7
Could you review the situation with next test case:
http://ipg-jets.us.oracle.com/JavaFX/javafx-drafts/2.0/drag_drop/hellodraganddrop.zip
There is a code:
source.setOnDragDone(new EventHandler <DragEvent>() {
public void handle(DragEvent event) {
/* the drag-and-drop gesture ended */
System.out.println("onDragDone");
/* if the data was successfully moved, clear it */
if (event.getTransferMode() == TransferMode.MOVE) { //Here
source.setText("");
}
event.consume();
}
});
On windows Transfer mode is Move, and on Mac - Copy. Is everything right here?
http://ipg-jets.us.oracle.com/JavaFX/javafx-drafts/2.0/drag_drop/hellodraganddrop.zip
There is a code:
source.setOnDragDone(new EventHandler <DragEvent>() {
public void handle(DragEvent event) {
/* the drag-and-drop gesture ended */
System.out.println("onDragDone");
/* if the data was successfully moved, clear it */
if (event.getTransferMode() == TransferMode.MOVE) { //Here
source.setText("");
}
event.consume();
}
});
On windows Transfer mode is Move, and on Mac - Copy. Is everything right here?
- duplicates
-
JDK-8116268 Mac: Drag and drop works differently on MacOS
-
- Resolved
-
- relates to
-
JDK-8117111 Mac: Drag and drop of files not working
-
- Closed
-