This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Im building a visual component where the user can drag node(s) from a palette to a main panel. These nodes can be connected to one another with links that one can create by gliding over the node and dragging it to the node that it needs to be connected to. My problem now is how do I determine which way the arrow is going i.e. what if the user is dragging to the left or right ot top or bottom of the node how can I capture this?