From: Joe E. <jo...@em...> - 2006-02-19 12:17:30
|
Joe Emenaker wrote: >I noticed that drag-n-drop is enabled for the JTables in >AbstractLibraryFrame. However, it seems to be fairly broken. > > I've found the problem. It turns out that basic drag-n-drop between libraries was working like it was supposed to *except* the destination table wasn't notified that its data had changed. So, if you dragged something into the library, it wouldn't show up until you did something else that triggered a fireTableChanged method, like minimizing/restoring the library frame, adding a new patch, deleting a patch, etc. I've fixed that. However, there are three remaining items: 1 - Only COPY is supported with drag-n-drop right now. Is there any opposition to also supporting MOVE? 2 - You can highlight multiple rows and then drag, but only one row gets transferred. Do we want support for multiple-patch drag-n-drop? 3 - Right now, it appears that dragged patches are always appended to the bottom of the table. Is there any interest in being able to drop them between two existing rows? - Joe |