Grid bag layout will automatically space out your components. What you can do is add a "dummy" component (ex. new Jlabel("")) and tell it to fill vertically with some weighty.