The "One Laptop Per Child" project has a great device ready to ship, but there's no Java on there. Let's think about working together to put Java on OLPC!
By setting DropTargetEvent.feedback to DND.FEEDBACK_SELECT
the Item which mouse drag over will be highlight,
now I want to insert one tableItem into highLight position,so I need to know the index num of the highLight tableItem,
does anyone know how to get the highLight tableItem's index num?
(I have tried to use table.getSelectionIndex() but the return value is not correct)
Any help would be appreciated!
A question about DND: how to get highlight row's index when dragOver Table
At 5:07 AM on Jul 23, 2008, wang yang
wrote:
the Item which mouse drag over will be highlight,
now I want to insert one tableItem into highLight position,so I need to know the index num of the highLight tableItem,
does anyone know how to get the highLight tableItem's index num?
(I have tried to use table.getSelectionIndex() but the return value is not correct)
Any help would be appreciated!
0 replies so far (
Post your own)