This post originated from an RSS feed registered with Java Buzz
by Scott Delap.
Original Post: JDraggable: What do you think?
Feed Title: ClientJava.com
Feed URL: http://www.clientjava.com/archives/wireless_mobile.rdf
Feed Description: Client/Desktop Related Java Development
Craig is working on being able to transparently add the ability to drag Swing components and rearrange their positioning. He is currently trying to decide the best way to accomplish this. Since the layout manager is suppose to handle the responsiblity of positioning components it seems like the best way in my opinion is a custom layout manager. This implementation forces the developer to sign off on the fact they are ok with the functionality. Otherwise, swapping layout managers out behind the scenes changes the code the developer originally created. I suggested something similar to this technique wise:
Craig's Blog Post JDraggable: What do you think? I decided to create a simple-to-use, non-intrusive API which enables the ability for Component's within a Container to be "dragged".
The idea for such a thing came from responding to a post on the Swing Forum. From that it evolved into what is now known as JDraggable...