title: Changing the colour of text in drawstring()
body: <p>I'm trying to add emphasis to one work in a string im drawing using swing. </p>
  
  <p>I was advised to use HTML with the following code:</p>
  
  <pre><code>Graphics2D g2 = (Graphics2D) g;
  g.drawString("this is something I want people to &lt;p color="#00FF00"&gt;NOTICE&lt;/p&gt;", x, y);
  </code></pre>
  
  <p>I tried this but had no luck... it just outputs the HTML</p>
  
  <p>Can anyone point me in the right direction?</p>