to add some space you would need yo use a layout for your buttons on the panel. You dont have to use so much panels, by using one button per panel. Just set the layout of the JPanel then add all the buttons.

e.g.

Java Code:

JPanel cont = new JPanel()
cont.setLayout(new FlowLayout())

:)

GridBagLayout is Better in Looks but I forgot how to use it:( Is there anyone to tell me the parameters for the GridBagLayout.????