<strong>Catching the mouse coordinates while draging</strong> (<tt>MouseMotionListener.mouseDraged(evt)</tt> not called when using component as a DropTarget)
0 posts in topic
Flat View  Flat View

Posted By:   yann_robert
Posted On:   Friday, October 5, 2001 06:57 PM

I am writing a JTable of my own, capable to proceed cell drag and drop.

I need to know the coordinates of the mouse where I droped the thing.

My problem is that i added a MouseMotionListener in order to know where the mouse is, but as I use my JTable as a DropTarget, the mouseDraged(MouseEvent) method is not called.

How can I reach my goal?

Thx in advance

About | Sitemap | Contact