Paul Peterson wrote:Obviously I missed something, probably something silly. I am getting a null pointer exception. This is what I am trying to use:
Well, you set the "f" reference variable to null, so, when you tried to deference it to call the listFiles() method, you will get a null pointer exception.
Henry