Maybe there is a similar question to this, but I couldn't find a one.
Id like my program ( awt or swing ) to add controls ( like text fields ) automatically.
For example : A dialog program has 10 fields for inputting names, but I need 11 so by pressing a button a new field will appear.
Thank you in advance.