How to create a File Explorer using JTree in Swing so there is a tree representation
for your localdisks?

I also want to know when you click on the tree node which represent a text
file or a java program, how to display the content of the into a Editorpane
like a file preview.

Please please help..