Currently i am working on a java desktop application project.can u please tell me how to create dynamic textfields by clicking on add button using swings.please help me.
I didn't know java had swings. It is kind of hard for an abstract computer language to have playground equipment. It is called Swing and saying "swings" makes you sound like an idiot (not saying you are but saying that makes you sound like it).
Now, please explain what you mean by "dynamic textfields".
If you mean adding one after an action event, well add it and then call revalidate() and/or repaint() on the container you added it to (both is best).