JAVA - save to .txt [NEED HELP]

05/06/2012 18:03 Hikarim#1
Hi,
so i have a netbeans project, and i came to the point where i need a little help...
so i have an application in which people can fill out a form for their order, but now i have a question..how can i save their inputs to a .txt file?
so basically how do i save inputed text to jTextFileds, check box answers to a .txt file?

if anyone could write me a small smaple, would really appreciate it ^^
05/06/2012 19:09 xNopex#2
[Only registered and activated users can see links. Click Here To Register...]
05/07/2012 17:20 epiTR#3
HTML Code:
FileWriter fwriter = new FileWriter("test.txt");
fwriter.write("write this String into test.txt");
fwriter.close();