I know the File class has methods that allow you to do that. You will create a File object and have it reference the directory you want to list, and then loop through the object listing all the file. You can even filter for specific extensions if you need to. Check the API for more details.
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
If I coould remember properly there is a metod listFiles which gives the array of files but it includes the directory also you can seggrate them by using either isDirectory or isFile method..I am not sure if it counts for the files 7 directory of its subfolder or not. regards, Arun