Is there some way to parse a specific directory and get the names of the files in that directory? I have a folder named FILES that will contain *.xls files. My intent is to have the program parse the FILES directory and display all of the file names in a JOptionPane.showInputDialog() method. I know you can use JFileChooser to select files but I do not want the user to have that freedom. I only want to show the files of a specific directory.
If you have an ideas, I would really appreciate your comment! Thanks!
Ugh, I should think before I post... I searched Google for an hour reading different sites. So I decide to come here and post.. but I never thought to search the forums beforehand. Thanks, sorry for wasting your time! =\