title: Java - Scroll to specific text inside JTextArea
body: <p>I'm trying to implement a feature inside the current program that I'm writing and I wanna learn how to scroll down to specific text inside a JTextArea. For example, lets say I have the following:</p>
  
  <pre><code>JTextArea area = new JTextArea(someReallyLongString);
  </code></pre>
  
  <p>someReallyLongString would represent a paragraph, or a very large piece of text (in which the vertical scrollbar would be visible). And so what I am trying to do is scroll down to specific text within that text area. For example, lets say someReallyLongString contained the word "the" near the middle of the scrollbar (meaning this word is not visible), how would I scroll down to that specific text?</p>
  
  <p>Thanks, any help would be greatly appreciating.</p>