This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Capturing events help" Watch "Capturing events help" New topic
Author

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Capturing events help
 
Similar Threads
Help
Drag N drop in JTree
JScrollBar value change
Change cursor type in DnD tree
JTree