Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

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

 
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
 
It's just like a fortune cookie, but instead of a cookie, it's pie. And we'll call it ... tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic