I'm trying to write a store inventory program, where the program reads in a file of the current inventory which is an ArrayList where the product class just defines each product with the name, price etc. I'm struggling to find a way for the user to enter information for a new object in Product in a JTextField and save all the info after it is all entered and create the object and put it into the ArrayList. Currently my ActionListener class works but when i enter info in a text box and press enter it just pops up a message telling me what i entered. Thanks!