Question: You have a GUI that takes text input from the user for name, favorite color, and favorite food. On the GUI, the user will click "Enter the Information!!!!" Once they click it, the information given in the form should be added to the end of a text file (a text file that is collecting this data.) Use the FileWriter class to add the user's name, favorite color, and favorite food (in that order)
Once a user input is written, a message should pop up to tell the user that the information has been added.
Prepare a GUI and please keep it simple and easy and you have to satisfy the requirements specific in the instruction.