This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes creating and binding components at runtime in Swing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "creating and binding components at runtime in Swing " Watch "creating and binding components at runtime in Swing " New topic
Author

creating and binding components at runtime in Swing

Nishi kotgire
Greenhorn

Joined: Dec 04, 2007
Posts: 2
Hello,
I have a requirement in which depending on size of input arraylist I have to add same number of text boxes as the number of objects in the arraylist at runtime.can you please let me know how this can be achieved

Thanks,
Nishi
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Nishi, what part do you have problems with - what exactly is your doubt?


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: creating and binding components at runtime in Swing