HOW DO I ADD MULTIPLE TEXTBOX IN RUNTIME IN JAVA

R

RedGrittyBrick

SAN said:
HOW DO I ADD MULTIPLE TEXTBOX IN RUNTIME IN JAVA

Repeat 'container.add(textbox);' for various textbox.

All textboxes are added at runtime. You can choose whether that is in a
constructor method, an initialiser method, some listener method or
elsewhere.

You probably should specify whether you are using JSP, Swing or
something else. Otherwise my assumptions may not match your situation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top