This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Capturing events help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Capturing events help" Watch "Capturing events help" New topic

Capturing events help

john mattucci
Ranch Hand

Joined: Nov 03, 2000
Posts: 331
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?

Thank you all for your time
Consider Paul's rocket mass heater.
subject: Capturing events help
Similar Threads
Drag N drop in JTree
JScrollBar value change
Change cursor type in DnD tree