Possible Duplicate:
How to write content on a text file using java?
Is it possible to make use java to save text in a textfield as plain text, if so how?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, get the text from the text field and save it in a file.
I am missing the
try/catch/finallyand theimportstatements here for brevity. But you should stick theclose()infinallyifwriteris notnull.