title: Text in a JTextField not wrapping around
body: <p>My original plan today was to learn how to use the <code>JProgressBar</code>, but now I am stuck with a new problem which I was not expecting. So here is how my <code>JFrame</code> looks like right now.</p>
  
  <p><img src="https://i.stack.imgur.com/TchM2.png" alt="The Frame"></p>
  
  <p>The problem is that the <code>JTextField</code> right under the <code>JTextArea</code> is not wrapping around. It is going beyond the size of the <code>JFrame</code>. I want it to resize relative to the <code>JFrame</code>. How can i do that? I have tried the <code>JLabel</code> but it does the same thing, only it adds ellipses in the end where the text overflows.</p>