wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Spring Layout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Spring Layout" Watch "Spring Layout" New topic

Spring Layout

kelly devon
Ranch Hand

Joined: Apr 15, 2004
Posts: 75
I am using spring layout to design my form which contains eight fields. the challenge am having is collecting the information from the field and putting it into a database row by row. i used a for statement to create the form, That is using one texfield in a loop to run 8 times. do i use a loop to get out the information before sending it to the database? please help . Thanks

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10171

Yes, the for loop sounds logical.
Check out the Container#getComponentCount and Container#getComponent methods. You might find them useful

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
kelly devon
Ranch Hand

Joined: Apr 15, 2004
Posts: 75
Thank you
I agree. Here's the link: http://aspose.com/file-tools
subject: Spring Layout
Similar Threads
Login form spring and hybernet
Add row dynamically in html table based on the number of records in the database using jsp
Using of sample code from sun's tutorials
How can I have a TAB inside my JSP
Scroll bar does not retain its position after or before pack