Try looking at public void dragOver(DropTargetDragEvent dtde) in the
DropTargetListener interface.  I check the location from
DropTargetDragEvent.getLocation() and if it represents a valid drop
location, using getCurrentDataFlavors(), I manually select the row myself
(my target is a TreeTable).

--------------------------------
Rand Clark
Software Design Engineer
Transoft Networks
a Hewlett-Packard company
805.883.4315
[EMAIL PROTECTED]
--------------------------------


>-----Original Message-----
>From: Gudekota, Kari Basappa [mailto:[EMAIL PROTECTED]]
>Sent: Monday, October 15, 2001 8:03 PM
>To: '[EMAIL PROTECTED]'
>Subject: problem with Drag and Drop
>
>
>Hi
>  I have written a Drag and Drop programme in which Drag 
>source is the Table and
>Drag Target is the Tree. As the mouse moved on the Tree the 
>nodes should get
>highlited , but it is not happening . Will you please help me?
>Thanks
>G.Basappa
>_______________________________________________
>Advanced-swing mailing list
>[EMAIL PROTECTED]
>http://eos.dk/mailman/listinfo/advanced-swing
>
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to