This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
Removing the file setSelectedFile from filechooser
posted 5 years ago
In my application, for one of the file save options I want to give a suggested file save name, which I am doing using a filechooser.setSelectedFile method. However I have another save functionality in the same application for which I don't want to pass a suggested default name. To remove the default file I am using the following line,
however, when I do this I get Application.name from my App.properties file as the default suggested name. Why is my application doing this. I am using Netbeans IDE to develop my application.