It’s easy enough to set up an ActionListener that will respond to mouse-button-pressed events (by adding your own mappings with the MouseButtonTrigger class), but what if I need to know when the mouse button has been released?
The boolean is false in that case…
Perfect. Thanks.
Now how do I move the object to the new mouse position? Is there a tutorial on this somewhere? When I lift the mouse button, I try to do a move() on the geometry of the selected object, but it only moves a small fraction of the actual distance to the new cursor location.