I am using a JTree to display the directory structure.
I have to show the files in a JList present in the particular directory.
But the contents of the JList dont change as soon as I select the other
directory in the tree.
Please suggest how to display the files in a particular directory ,
selected during runtime in a JList.