Display file(s) name and select it under the folder in JTree
I managed to come this far using stackoverflow examples, JTree displays all the system drives and folders, wanted to display all the corresponding files from the folder as well, got all the file names in a loop need to add them, that's where I got stuck! Please give me direction to add the files under the folder, Thanks! CODE: public class viewGui extends JFrame { private FileSystemView fileSystemView; private Desktop desktop; private static final long serialVersionUID = 1083130296343096642L; public static JTree tree; private DefaultTreeModel treeModel; private JTable table; private