I am a beginner in java programming. I want to write a program that has 10 text fields on the left, 10 text field on the right and a "find" button between the text fields on the right and left. Which layout is best for this? Thank you. Kwesi.
Jason Menard
Sheriff
Joined: Nov 09, 2000
Posts: 6450
posted
0
I'm going to move this to the Swing / JFC / AWT forum where you stand the best chance of getting it answered.
I would use a main panel with a horizontal boxlayout then to that add 3 things: 1) the left panel using a vertical boxlayout and 10 text fields 2) a middle panel with the find button (just about any layout) 3) the right panel using a verical boxlayout and 10 text fields that should get you going brian