This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Shortcut for Drag/drop re-ordering in a JList?  RSS feed

 
Eric Nielsen
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to implement a way for the user to select an item in my JList and drag it up/down to change its location in the list. I think I can see how to do it using the general drag and drop support. However, this seems like a reasonably common operation and I'm wondering if I'm missing a simpler technique for acheiving the same end result?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!