title: How do you stretch a JPanel within a JPanel?
body: <p>Here is an image of what I'm working with:
  <img src="https://i.stack.imgur.com/v8qpG.png" alt="enter image description here"></p>
  
  <p>And Here is what I would like to acheive:
  <img src="https://i.stack.imgur.com/Hs2tm.png" alt="enter image description here"></p>
  
  <p>As you can see, I have an JPanel Outer with a GridLayout of (3, 1)...i.e. 3 row and 1 column</p>
  
  <p>I added 3 JPanels within the Outer JPanel, but the problem I have is stretching just the Inner2 JPanel. I need more space to add more info in Inner2 and want less space for Inner3 because it only has a CHECKOUT JButton.</p>
  
  <p>How would I go about achieving this?</p>
  
  <p>I have tried to set different layouts within Inner2 but it seems like the dimension of all the Inner JPanels are FIXED.</p>