Hello everybody,
I have to add drag and drop effect into my program. I want to create 
component(drop target) that can
determine which is the drag source and do different things.

And I have found getDragSource() in 3 classes below :
java.awt.dnd.DragGestureEvent.getDragSource()
java.awt.dnd.DragGestureRecognizer.getDragSource()
java.awt.dnd.DragSourceContext.getDragSource()
My first ideas is keeping track of the drag source in 
DropTargetListener.drop(DropTargetDropEvent
event). But I can't get those infomation in 
DropTargetListener.drop(DropTargetDropEvent event).

Please teach me how to solve it. Thank you.



==========================================================
 PC home �q�l�H�c�A�ӽнЦ�: http://www.pchome.com.tw
 PC home Online �����a�x�G�|���Ĥ@�A�x�W�̤j���J�f����
==========================================================
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to