i have 3 panel,and try to make a 5x2 layout with gridbaglayout,you can see my idea in the pic1.and the layout code is following: 1.centerPanel.add(basicInfoPanel,new GBC(0,0