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:31]
# 1
Hi neha,If you post this in Swing forum, you may get a solution. http://forum.java.sun.com/forum.jspa?forumID=57
it_senthilkumara at 2007-7-11 15:09:13 > top of Java-index,Java Essentials,Java Programming...