Problem with drag and drop on a JTable

P

Paul Tomblin

I have a JTable that has a TransferHandler to allow drag and drop.
My users are complaining that you have to click on the item to select it,
and *then* you can drag it. I think the problem is in createTransferable,
where I use "getSelectedRow()" to create the Transferable. Is there a way
to a click/drag without first selecting the row? Would it interfere with
ordinary selection?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,983
Messages
2,570,187
Members
46,747
Latest member
jojoBizaroo

Latest Threads

Top