How to stick to top of container in BoxLayout
===

I have a parent JPanel with a Y_AXIS layout. The children of this container are all JPanels as well.
The components are stacking fine, and are all alligned, but i want them to stick to the top of the parent JPanel so all excess space is in the bottom, and there is no extra space between the components. I have tried using glue, but i might be doing something wrong. I have also set the AllignmentX and AllignmentY to left and top respectively on all children.

So, what i want is a stack of children in the parent panel, that is not stretched in height, and sticks to the top (and left, if possible) of the parent container, with all excess space placed in the bottom, as such:

EDIT:
It seems stackoverflow does not like ascii pictures. I removed it for this reason, as it was really not making anything clearer.        