title: How to organize my JPanel inside a JFrame?
body: <p>I'm having trouble organizing <code>JPanel</code> inside a <code>JFrame</code>.</p>
  
  <p>I have 3 <code>JPanel</code>s and need to organize them as follows:</p>
  
  <p><strong>panel1  panel2</strong></p>
  
  <p><strong>panel__3333333</strong></p>
  
  <p>However, can only horizontally align <code>panel1</code> and <code>panel2</code> as follows:</p>
  
  <pre><code> groupLayout.setHorizontalGroup(groupLayout.createSequentialGroup()
          .addComponent(PANEL1)
          .addComponent(PANEL2));
      groupLayout.setVerticalGroup(groupLayout.createParallelGroup()
          .addComponent(PANEL1)
          .addComponent(PANEL2));  
  </code></pre>
  
  <p>Thanks.</p>