I think you want the Configure button to be as far left as possible, and ok and cancel are grouped together to the right. If so, I would suggest using BorderLayoutand placing the Configure button in WEST and the layout for Ok, Cancel and placing this panel in EAST.
- GridBagLayout GridBagConstrant.anchor.
, NetBeans, : -)

:
import java.awt.BorderLayout;
import javax.swing.*;
public class FrameTestBase {
public static void main(String args[]) {
JPanel configurePanel = new JPanel();
configurePanel.add(new JButton("Configure"));
JPanel okCancelPanel = new JPanel();
okCancelPanel.add(new JButton("Ok"));
okCancelPanel.add(new JButton("Cancel"));
JPanel buttonPanel = new JPanel(new BorderLayout());
buttonPanel.add(configurePanel, BorderLayout.WEST);
buttonPanel.add(okCancelPanel, BorderLayout.EAST);
JFrame t = new JFrame("Button Layout Demo");
t.setContentPane(buttonPanel);
t.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
t.setSize(400, 65);
t.setVisible(true);
}
}