This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

drag and drop in the same JList and more...  RSS feed

 
david zhang
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!