Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Drag and drop

 
Daria Jalali
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic