Create a GUI with two buttons. One button reads "Add Name" and the other button reads "View Names":
Every time the "Add Name" button is clicked, display an input dialog that asks the user to enter a name and add that name to an ArrayList:
When the "View Names" button is clicked, display a message dialog that show all the names in the ArrayList in the following format: