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

Forum statistics

Threads
474,263
Messages
2,571,062
Members
48,769
Latest member
Clifft

Latest Threads

Top