title: Problem with Border Layout component positioning
body: <p>I really don't know how to make the south panel appear without make the buttons go up. Maybe i need to change the layout from border layout to another one, I don't know...</p>
  
  <p><strong>---------->My Code:</strong></p>
  
  <pre><code>public class a1211 extends JFrame {
  
      private final JButton OK; 
      private final JButton cancel;
      private final JButton setup; 
      private final JButton help;
      private final JPanel buttonPanel;
      private final JLabel printQuality;
      private final JComboBox&lt;String&gt; quality; 
      private final String[] qualityNames = { "High", "Low", "Medium" };
      private final JCheckBox printToFile;
      private final JPanel southPanel;
  
      public a1211() {
          super("Printer");          
  
          OK = new JButton("OK");
          cancel = new JButton("Cancel");
          setup = new JButton("Setup...");
          help = new JButton("Help");
          buttonPanel = new JPanel();
          buttonPanel.setLayout(new GridLayout(4, 1, 5, 5));
          buttonPanel.add(OK);
          buttonPanel.add(cancel);
          buttonPanel.add(setup);
          buttonPanel.add(help);
  
          printQuality = new JLabel("Print Quality:");
          quality = new JComboBox&lt;String&gt;(qualityNames);
          printToFile = new JCheckBox("Print To File");
          southPanel = new JPanel();
          southPanel.add(printQuality);
          southPanel.add(quality);
          southPanel.add(printToFile);
  
          add(buttonPanel, BorderLayout.EAST);
          add(southPanel, BorderLayout.SOUTH);
      }
  
      public static void main(String[] args) {
          a1211 a1211 = new a1211();
          a1211.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);   
          a1211.setSize(400, 150);
          a1211.setVisible(true);
      }
  }
  </code></pre>
  
  <p><strong>---------->What this code make:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/o7z1e.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/o7z1e.jpg" alt="enter image description here"></a></p>
  
  <p><strong>---------->What it should make:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/t7UWG.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t7UWG.jpg" alt="https://i.stack.imgur.com/t7UWG.jpg"></a></p>