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);}
Phaelax
Practically a Posting Shark
858 posts since Mar 2004
Reputation Points: 92
Solved Threads: 51