source code for window explorer in JTree
I am a JAVA learner and want to display the drives as the root node in the tree structure.
i am not able to add window explorer in the tree structure as root. . i want sample program for doing as follows. I want a tree structure something like:
- My Computer
|_
+ Drive 1 (C: )
+ Drive 2 (E: )
+ Drive 3 (E: )
can any one suggest me the code for adding different drives as unexpanded root node as above
thanx in advance.

