This week's book giveaways are in the Cloud and AI/ML forums.
We're giving away four copies each of Cloud Native Patterns and Natural Language Processing and have the authors on-line!
See this thread and this one for details.
Win a copy of Cloud Native PatternsE this week in the Cloud forum
or Natural Language Processing in the AI/ML 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
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Reorder list with Drag and Drop

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I have a program that pulls a bunch of data, sorts the data into rows and then places them all into a JScrollPane. I have gotten to the point where I am running into 3 problems I can't seem to solve. First is that on scrolling it makes the component I moved jump back to its original location. Second if you drag the component below the screen it doesn't scroll to follow. And third is how to I make the other components know where I am trying to move this component and where they need to move. I am ultimately try to accomplish something like how you can move apps around on a phone expect I only care about vertical movement.

I have built a example program that shows where I am currently at with building this in my main project. Does anyone have any good examples of this or a good direction to go?
The main window:


The Listener:


Thanks.
 
Ardel Grider
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wanted anyone else looking to know it is resolved. The resource I used to resolve it is linked Here. After some editing to the resources code it worked perfectly.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!