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.

[476 byte] By [neha.uda] at [2007-11-26 23:41:32]
# 1
Hope this helps http://platform.netbeans.org/tutorials/nbm-selection-2.html http://jdj.sys-con.com/read/36346.htm
roaha at 2007-7-11 15:09:14 > top of Java-index,Java Essentials,Java Programming...