i developed a program to display the files in selected directories or folders using jtree and jtable..
i have a jdialog which gets the folder from the user..
i have no problem while choosing the folder for first time..
but when i again choose another folder the new files get append with the last displayed files...
i have tried lots of methods to refresh the jtable when the user selects the open dialog ..........
here is my code:
// this is for opening the jdialog:
//this s for showing the files list in jtable and jtree