Hi I am using CardLayout in my swing app and here in one of the panel i have to provide the users with a facility, which should allow them to add as many members as they want to a 'batchId'('batchId' is already in place). I have created a simple JPanel that displays only 10 textfields(hardcoded). This will restrict my user to go beyond 10 members. I want something like the number of textfields on the panel should be increased dynamically on the users wish. What is best action that i can take on now?