Hello! I'd consider myself fairly new to java. I'm looking to make a GUI program that appends rows to an already existing spreadsheet.

I will be having 2 JTextFields that take input from the user and add them to an excel document in the same row, adjacent columns.
Each time the user adds one, it'll put it below the last row that contains data.

What would I put in the button listener that sends the data?

Thanks in advance!