Reading Directories and Files in Java
Posted on 2004-08-10
I have a combo box control in Java with a first element of "NEW". When i pull down the combo box menu it should display the files listed in a directory under windows. I should be able to open the file that I select and display the contents to a List Box. If I select "NEW" it should clear the contents of the List Box.
I need some code samples that I can try, which is the reason for the high points. If you've done this before or know where to get some code samples please provide information and I will award the points.