JTextArea's getText() method may be helpful for retrieving text. As for storing information in a .txt file, I'd look at the PrintWriter class. For reading data from a .txt file, you may want to check...