6
6e
Hi,
Im trying to implement the drag on drop example presented on
www.javaworld.com/javatips/jw-javatip97_p.html
in my own application.
The weird thing is that in my application I cannot get the object to
convert to a transferable object, while in the example it actually does
work...
It seems like such a silly problem, but Ive noticed on other forums
similar questions posted without answers. So I was wondering if one of
you could shed some insight into the situation.
The getUserObject() returns a defaultMutableTreeNode Object...
Object x = dragNode.getUserObject();
Transferable transferable = (Transferable) x;
Im trying to implement the drag on drop example presented on
www.javaworld.com/javatips/jw-javatip97_p.html
in my own application.
The weird thing is that in my application I cannot get the object to
convert to a transferable object, while in the example it actually does
work...
It seems like such a silly problem, but Ive noticed on other forums
similar questions posted without answers. So I was wondering if one of
you could shed some insight into the situation.
The getUserObject() returns a defaultMutableTreeNode Object...
Object x = dragNode.getUserObject();
Transferable transferable = (Transferable) x;