Hi,
all I have problem with JTree can u tell me how to reflect the JTree node transfer in File System.
Means I have done a JTree aplication in swing and that needs to be drag and drop between twonodes that is happening but It should reflect in File System
all I have problem with JTree can u tell me how to reflect the JTree node transfer in File System.
Means I have done a JTree aplication in swing and that needs to be drag and drop between twonodes that is happening but It should reflect in File System
by durga
April 18, 2007 12:19 AM+ add to your
Readings [?]
JTree Drag and Drop and Filesystem Change
What object you generate your TreeModel from?
If you have some set of File objects you generate your nodes from - you can hold a reference to corresponding File in your node. As drag-and-drop happens you can get that Files from participating nodes and manipulate.
Let me know if this was helpful. Good luck!by dkrukovskyApril 20, 2007 7:45 AM
in jtree java swing computer tree file programming drag-and-drop
- Reply
Blogoforum -
del.icio.us