I am developing a Java application in 1.5 that utilizes drag and drop to move data between two JLists. My question: why is there a delay in moving the items? I need to first click on the item, then click and drag it to the other list. This behavior isn't intuitive; I wouldn't expect to first have to select the item, then click again to move it. I expect to be able to click and drag the item in one movement. I'm sure I'm just missing something. Can anyone please explain?
Code follows. If you compile and run, you should be able to reproduce the behavior I see.
Thanks in advance!
And the TransferHandler:
Get off me! Here, read this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop