I am trying to add components to SOUTH of a BorderLayout I need it to look like this example.
------------------------------------
|
One way is to use a horizontal Box Layout
on the panel. Then you can use glue
to separate the groups of components:
JPanel panel = new JPanel();
panel.setLayout(...);
panel.add(textField);
panel.add(button);
panel.add(the glue here);
panel.add(label);
Read the section from the Swing tutorial on How to Use BoxLayout for more information on the glue
and working examples.