Problem with the dynamic text fields

Hiii, my problem is simple but difficult :frowning: , actually scenerio is like this …, a users places a order from the site … that order may contains undefinite numbers of the products … and i am developing an application type backend to process orders… that is in java swing , but the problem is to describe an order when admin click on order i need to show that products on the admin side and this need dynamically created text boxes.

so the problem is that how to create dynamic boxes and give them the name .

so the problem is that how to create dynamic boxes and give them the name

In Java? In HTML? On a Web UI?

Can you be a bit more specific - even point to existing examples of what you have in mind?