I'm using BorderLayout for manage my Panels. I use this code for split the area in two:

Code:
split.region = dropRegion,
comp.region = "center";
split.width = "50%";
split.height = "50%";
owner.add(comp);
owner.add(split);
owner.contentChanged = true;
owner.doLayout();
This code make a split of the area in 50% for each Panel. In east and west works fine, but in north and south don't. Until where I know, the four regions have same behavior. Someone knows why the north and south have different behaviors? I've tested and the height really is 50% after doLayout() call, but in the window shows all wrong. I have no idea where is my mistake here.