I'd say CardLayout since FlowLayout will respect the preferred size of components. I assume that the components added are not all necessarily the same.
Tony Alicea Senior Java Web Application Developer, SCPJ2, SCWCD
shan, Please change your name to be compliant with JavaRanch's naming policy. Your ID should be 2 separate names with more than 1 letter each. We really want this to be a professional forum and would prefer that you use your REAL name. Thanks, Cindy
"JavaRanch, where the deer and the Certified play" - David O'Meara
Cindy, I guess "shan" may not available to change his/her name anymore. This post is created by "shan" on Feb 19 2000 , that is almost an year back ! I am still waiting for the answer -Sam
If you like strawberry rhubarb pie, try blueberry rhubarb (bluebarb) pie. And try this tiny ad:
a bit of art, as a gift, that will fit in a stocking