Is there a similar solution to http://allen-sauer.com/com.allen_sauer.gwt.dnd.demo.DragDropDemo/DragDropDemo.html#PaletteExample but for normal Java applications, i.e. allowing gui elements to be dragged around on a canvas?
Thanks
Is there a similar solution to http://allen-sauer.com/com.allen_sauer.gwt.dnd.demo.DragDropDemo/DragDropDemo.html#PaletteExample but for normal Java applications, i.e. allowing gui elements to be dragged around on a canvas?
Thanks
Yes, it's possible. No it's not trivial.
You'll want to become farmiluar with the code D'n'D API How to drag and drop with Java 2, Part 1
You may like to have a read through
You may also want to become familiar with the
GlassPane