SyntaxFix
Write A Post
Hire A Developer
Questions
This simplifies it a bit and it behaves as you want it.
FileWriter f = new FileWriter("../playlist/"+existingPlaylist.getText()+".txt"); try { f.write(source); ... } catch(...) { } finally { //close it here }