I'm using a borderlayout to locate components in the north, center and south, but when I change the size of the window during the execution to enlarge the components, I want to change its size individually without affecting the others. In this case I just want to change the height of the component by placing the cursor on the top or bottom edge and make it longer.