Require a simple save option
Posted on 2004-11-02
in my java menu, i have a save option that saves the contents of a JTextArea to a .txt file
at the moment, im not using showSaveDialog() so the file is just getting saved under a name that i specificed in the code!
but now i want the option of selecting the directory or folder in which to save the .txt file.
this needs to be very simple and kept in one class.
so again heres what i want:
user be able to type in a few lines into JTextArea,
select save from menubar or button on screen,
pops up savedialog,
user selects dir or folder and clicks save!
this is urgent and only fully working code with be awarded 500 points +
as more questions to come but need this working first...