try
{
PrintWriter out = new PrintWriter(new FileOutputStream(new File(filename)));
String text = myTextField.getText();
out.print(text);
out.close()
}
catch(Exception e)
{System.out.println(e);}
Reputation Points: 92
Solved Threads: 51
Practically a Posting Shark
Offline 856 posts
since Mar 2004