posted 16 years ago
I don't think you need a JTable. What you would do is when the user fires the Add Another Number event (be it a button or whatever) simply create new components and add them to your container.
Actually a just re-read the OP question and realized he isn't adding more phone numbers for a person but adding a new person. Yes, it does sound like a JTable would make more sense here with updatable rows. Although you could technically do it the way I first described.
[ December 10, 2007: Message edited by: Gregg Bolinger ]