title: In java how do you add a JPanel to another JPanel
body: <p>I wish to add 3 JPanels, all spaced different distances apart, that fill the Content Pane/JFrame. 
  Currently, add(new JPanel()) will overrite the current content pane or not show up at all.</p>
  
  <p>Ideally I want the code to resemble (for example's sake):</p>
  
  <pre><code>JPanel panel1 = new JPanel();
  panel1.add(new jbutton())
  panel1.setBounds(0,0,100,100);
  
  JPanel panel2 = new JPanel();
  panel2.add(new jbutton());
  panel2.setBounds(100,0,100,100);
  
  getContentPane().add(panel1);
  getContentPane().add(panel2);
  </code></pre>
  
  <p>Etc...</p>
  
  <p>I know a panel can be added to a panel because I've done it with borderlayout.
  Please don't tell me to use a layout manager, I've been using gridbag and it hasn't produced the results I want. </p>
  
  <p>I would like full control over my objects' size and placement. Also, please don't tell me, "you're dumb; this is stupid; why would you ever want to do that?" </p>
  
  <p>Only helpful responses please! I'm not a noob programmer, just a guy frustrated with GUIs, so feel free to go into as deep a depth as you'd like.</p>