title: How to remove weird border on JTextArea
body: <p>I have a JTextArea, a Jlist and a couple other things on my JPanel, The JTextArea seems to be putting this weird border around the right and bottom side of the TextArea. </p>
  
  <p>I tried using <code>textArea.setBorder(BorderFactory.createLineBorder(Color.black, 2));</code> To get rid of it</p>
  
  <p>That adds the black border as expected but I still get the weird border.
  Here is a picture.</p>
  
  <p><a href="https://i.stack.imgur.com/LwBmz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LwBmz.png" alt="Weird Border"></a></p>
  
  <p><a href="https://i.stack.imgur.com/LqdDk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LqdDk.png" alt="Weird Border 2"></a></p>
  
  <p>I can't seem to remove the white and gray border by the textarea</p>
  
  <p>I have a Border Layout with a 5 pixel gap vertically, and horizontally.</p>
  
  <p><strong>Edit</strong>
  I don't think I stated this correctly, The white and grey "borders" are there even when I don't add the <code>.setBorder()</code></p>