title: JTextArea on left of JPanel
body: <p>I have a main gui class and a gui log class. The gui log class extends JPanel and simply adds a JTextField which will be used to print logging statements. I add the JTextfield(Which is in a scroll pane) to the panel with </p>
  
  <pre><code>add(scrollPane, BorderLayout.WEST);
  </code></pre>
  
  <p>this class is then added to my main gui class which extends JFrame and uses a BorderLayout. The panel is first added to a JSplitPane (using Vertical split) and then the SplitPane is added using</p>
  
  <pre><code>getContentPane().add(splitPane);
  </code></pre>
  
  <p>My problem is that I want the JTextfield within the log panel to be at the very left of the screen, however no matter what BorderLayout setting I use(CENTER, EAST, SOUTH...) it always remains in the center. </p>
  
  <p>Anyone know how I can solve this?</p>
  
  <p>Also do you know how I can get the JTExt area to resize as I resize the split pane?</p>
  
  <p>Thanks</p>
  
  <p>Images: 
  <img src="https://i.stack.imgur.com/HInIZ.jpg" alt="enter image description here"></p>
  
  <p>The left is what I'm getting, the right is what I want.</p>