title: How to create bold print in TextArea?
body: <p>I've research and seen many versions of this</p>
  
  <pre><code>JEditorPane textarea = new JEditorPane("text/html", "");
  listArea.setText("&lt;b&gt;Bold&lt;/b&gt;");
  </code></pre>
  
  <p>Unfortunately that does not seem to work for me, I'm not sure if it can be a result of different versions of netbeans as I am new to working with it.</p>
  
  <p>How to I bold certain words?</p>
  
  <p>EDIT: Well there is not much to show...it is quite literally a line after a actionPerformed Button...</p>
  
  <pre><code>private void sortButtonActionPerformed(java.awt.event.ActionEvent evt) {                                           
  
          JEditorPane listArea = new JEditorPane("text/html", "");
          listArea.setText("&lt;B&gt;Adjectives&lt;/B&gt;" + "/n"); //I've tried both upper and lower case
  </code></pre>