Read the API doc for the JTextfield class. It has a method for getting the text it contains as a String.
Type: Posts; User: Norm
Read the API doc for the JTextfield class. It has a method for getting the text it contains as a String.
See the PrintWriter class for writing text to a file.