How Can I space out buttons?

If I want to have a gap between two buttons in a flow layout how can I do that properly? Right now I'm using a JLabel of spaces but this seems like a terrible coding practice. Does anyone have a way to space things out using a legitimate method?