| Author |
drag and drop in the same JList and more...
|
david zhang
Greenhorn
Joined: Oct 12, 2003
Posts: 27
|
|
Hi, I have made numerous attempts trying do the following two things but failed and could not find any related solution from others (in this forum, there are 3 posts similar to mine but either there is no answer or answer is wrong): 1. Use mouse to drag elements of a JList to a different location of the SAME JList. That is, I can use mouse to move an element up down. 2. Drag an element from ANOTHER JList and drop it in my JList and put the dropped element in the mouse drop position rather than at the END of my JList? I found a few examples simply put the dropped element at the end. Any information, answer or pointer will be greatly appreciated! Regards, David
|
 |
david zhang
Greenhorn
Joined: Oct 12, 2003
Posts: 27
|
|
found this link and got everything solved. http://groups.google.de/groups?hl=de&lr=&ie=UTF-8&oe=UTF-8&th=7a86e4961220b3ce&rnum=1
|
 |
david zhang
Greenhorn
Joined: Oct 12, 2003
Posts: 27
|
|
found this link and got everything solved. http://groups.google.de/groups?hl=de&lr=&ie=UTF-8&oe=UTF-8&th=7a86e4961220b3ce&rnum=1
|
 |
 |
|
|
subject: drag and drop in the same JList and more...
|
|
|