Hi all, I'm new here and a little flummoxed by this problem. I am working through the process of creating a notepad type program in java to get a little more experience with the language. My save functionality is not working. This is not unexpected; the part that is really throwing me for a loop is that I am not getting any exception or indication that it doesn't work other than the fact that the file in question is empty. The pertinent code: [CODE] public void saveTheFile() { JFileChooser chooser = new JFileChooser(); chooser.setCurrentDirectory(new File("C:\\workspace\\Utilities\\bin\\xmlEditor\\xml")); chooser.setFileFilter(new javax.swing.filechooser.FileFilter() { public boolean …

Member Avatar
Member Avatar
+0 forum 1

The End.