hi..i was refered by a teacher of mine to this site..hope i can learn many things here..=)
i'm currently working on a project right now that aims to display the files and folders in a computer,one that works like a computer explorer/my computer function for windows users.i would like to use the JTree component in Swing to be able to display the files and folders of a computer so that it can be collapsed or expanded and its path can be displayed.
i thought at first of using the JFileChooser for this function.But since JFileChooser is a dialog box,i would like to "put a JFileChooser" in a JTree to be able to dynamically browse through a computer's contents and display it as a tree.
is there a class in
java,besides JFileChooser,that can support this function?the one that can dynamically browse through a computer's contents?and one that can be displayed in a JTree/parent-children(folders-files) manner?
we are limited to use swing components only..
hope i can get some useful feedbacks..tnx..=)