You want to create an unlimited amount of text fields?! Why would the user sit there and fill in this infinate amount of text boxes?!
I think I see how you can do this easily. At least I do using vb6

again this is theory...
Create all the text fields you would possibly need then assign which ones to make 'invisible'.
When the add button is clicked, certain text boxes become visible again.
This is eaisly done in vb6 but I've
never touched Java in my life. I only came in here out of both boredom and curiosity!