Hi,

I've been using GridLayout in a JTabbedPane. I ran into a problem when I created my 2nd pane. The 2nd is smaller (in height) than the 1st, so it gets streched to the same size as the 1st. I'm using GridLayout to line up controls left edges. But on the 2nd tab page it stretches the height of the combo boxes. Is there a way to prevent this somehow? I'm aware of more advanced layout managers that I will eventually look into, but for now I was wondering if theres any trick I could use to prevent GridLayout from vertically stretching. I've had limited success with putting the combo box inside a sub pane set to FlowLayout, but I was wondering if there was an easier/better way.

Thanks