Posted Wednesday, December 31, 1969 @ 23:59:59
Daniel,
Quicktable doesn't support drag & drop. But you can always get the JTable instance from quickTable (using dbTable.getTable() ) and then create an appropriate java.awt.dnd.DragSource , java.awt.dnd.DragGestureRecognizer , java.awt.dnd.DragGestureListener , java.awt.datatransfer.Transferable, java.awt.dnd.DragSourceListener classes. When the user drags the record from DBtable into JTree, find the record using rowAtPoint() method of Jtable, delete the record using delete method ( if you don't set delete sql, the record won't be deleted from database, but the record will be deleted in dbTable) an then add this to JTree. If the user tries to drag the record into dbTable, find the row where use is trying to insert using the rowAtPoint method of JTable, then call the insertAt() method.
have a look at the following tutorial about how to implement darg & drop for JTable
http://www.javaworld.com/javaworld/jw-08-1999/jw-08-draganddrop.html
http://www.jguru.com/faq/view.jsp?EID=409515
Since each user applications want to do drag & drop in different way, it is not possible to create a common drag & drop mechanism for quickTable. In future we will try add a basic drag & drop feature.