title: Gridbag layout -> how to stop components from resizing along with the window?
body: <p>I have a JFframe form in NetBeans 8 / Java 7.</p>
  
  <p>It has a bunch of labels, textboxes, dropdowns, etc. 
  These are a column on the left size, all staked up on top of each other.</p>
  
  <p>Here's a screenshot: </p>
  
  <p><img src="https://i.stack.imgur.com/fdDNi.png" alt="enter image description here"></p>
  
  <p>How can I prevent all those components from sticking to the right and resizing along with the window and at the same time have the preview frame at the far right resize along?</p>
  
  <p>I'm new to Java, and the gridbaglayout was the only I found to align everything properly. I just want the left side to have its components well aligned and not moving around. And I just want the right side, the panel, to resize according to the window resize.</p>
  
  <p>Thank you,</p>