aspose file tools*
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
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Spring Layout" Watch "Spring Layout" New topic
Author

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


kel
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9990
    
    7

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
Using of sample code from sun's tutorials
How can I have a TAB inside my JSP
Add row dynamically in html table based on the number of records in the database using jsp
Login form spring and hybernet
Scroll bar does not retain its position after or before pack