Problem with SaveDialog & File extensions
I'm using JFileChooser class and I'm invoking the showSaveDialog method with a file filter on .txt files.
Here is the problem:
If I call the file in the dialog with the name of "test", I wish it creates a "test.txt" file (I've set the FileFilter for this reason), but it creates a file without extension called "test".
What is the purpuose of the FileFilter in the SaveDialogs, then?
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL