aspose file tools*
The moose likes Java in General and the fly likes Drag and drop Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Drag and drop" Watch "Drag and drop" New topic
Author

Drag and drop

Daria Jalali
Greenhorn

Joined: Nov 14, 2001
Posts: 2
I'm trying to get DND to work from a tree to a table. Both the tree and the table implement DropTargetListener, DragSourceListener and DragGestureListener.
The DND from the tree to the table works if I have at least one row in the table and drop ON an existing row. BUT if the table is empty, the drop is not accepted.
Can't see the problem. Does anyone have an idea?
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Drag and drop
 
Similar Threads
Drag and drop
DND from one table cell to another in the same table
MouseListener and a Jtree�
DnD Questions
Testing With JFCUnit