All,
I have been working with Drag and Drop in
Java for a little while now but I'm confused and dont know how to transfer my object along with it's properties properly using the Java DND library.
What I am atempting to do is drag one JPanel into another JPanel with all of it's properties. I have it dragging correctly no error's and I have a message box popup when the drop action happens but when the following code is called during the DND (if I have it open in debug mode) I start seeing things like DropTarget not available.
Can anyone please explain how I can properly transfer an exactly replicata of an object and it's properties using the DND library?
Here is the object I want to move from one JPanel to the Next:
Here is the JPanel I am trying to drag it to and should add the object to the layout:
If I am not being clear or if you have any questions to help me resolve this issue I would be glad to try and answer them. Any help is greatly appreciated!
Thanks