The java program needs to create a GUI with a text field and a button, with an actionlistener.
When the button is clicked, whatever text typed into the text field is stored in a variable and written to a text file.
The user should be able to do this continuously, constantly appending the file for it to be read from later.
I am just trying to create an example of using a GUI to create and write to files.