Non avevi settato correttamente il "peso" del componente sulla riga. Devi dare la precedenza alla label assegnando un valore piu' alto.
codice:
c = getContentPane();
c.setLayout(new GridBagLayout());
GridBagConstraints cg = new GridBagConstraints();
cg.fill = GridBagConstraints.HORIZONTAL;
jTextField1 = new JTextField();
jTextField1.setText("aaaaaa");
jTextField1.setEditable(false);
jTextField1.setBorder(null);
cg.fill = GridBagConstraints.HORIZONTAL;
cg.ipadx = 0;
cg.weightx = 1.0;
cg.gridx = 0;
cg.gridy = 0;
c.add(jTextField1, cg);
jButton1 = new JButton("");
jButton1.setMinimumSize(new Dimension(0, 0));
jButton1.setSize(23,23);
cg.fill = GridBagConstraints.HORIZONTAL;
cg.weightx = 0.0;
cg.ipadx = -13;
cg.ipady = 7;
cg.gridx = 1;
cg.gridy = 0;
c.add(jButton1, cg);
jButton2 = new JButton("");
jButton2.setMinimumSize(new Dimension(0, 0));
jButton2.setSize(23,23);
cg.fill = GridBagConstraints.HORIZONTAL;
cg.weightx = 0.0;
cg.ipadx = -13;
cg.ipady = 7;
cg.gridx = 2;
cg.gridy = 0;
c.add(jButton2, cg);
jSeparator1 = new JSeparator();
cg.ipady = 0;
cg.weightx = 0.0;
cg.insets = new Insets(3,0,0,0);
cg.fill = GridBagConstraints.HORIZONTAL;
cg.gridwidth = 3;
cg.gridx = 0;
cg.gridy = 1;
c.add(jSeparator1, cg);
jTextArea1 = new JTextArea();
jTextArea1.setColumns(20);
jTextArea1.setRows(7);
jTextArea1.setLineWrap(true);
jScrollPane1 = new JScrollPane(jTextArea1);
cg.fill = GridBagConstraints.HORIZONTAL;
cg.ipady = 0;
cg.weighty = 0.0;
cg.insets = new Insets(3,0,0,0);
cg.gridx = 0;
cg.gridwidth = 3;
cg.gridy = 2;
c.add(jScrollPane1, cg);