I have code implementing javafx drag and drop similar to http://docs.oracle.com/javafx/2/drag_drop/HelloDragAndDrop.java.html I want to test if the user has droped the image in the correct area I don't know if there is a method to get the source and get the target so that I can check if the source match the correct target. I am using the this visual interface: https://dl.dropbox.com/u/6241504/3-2-2013%207-35-50%20PM.png Thanks in advance...