I have a JTree with more number of nodes. The Jtree is having Drag and drop functionality.
Suppose there exists a structure as follows:
A A.B A.B.C A.D
where A is the root node. B is a folder node and C and D are leaf nodes.
List this the Tree has lots of nodes in it.
When I drag and drop 'C' to 'A', which is being threaded, the JTree gets distorted at the time of dropping. And after the drop completes, the JTree gets the original structure.
This distortion doesn't take place if the dropping is not threaded.
Here is the code snippet which is called when node structure is changed.