|
I used the getName method to convert it to a string...
What is getFileFilter for? It already returns the file extension (.txt).
I'm on my phone now, but later at my PC I'll try your code out. (and try a new one, so I can see where the problem might have been in my case...)
|