title: Display part of JLabel in bold
body: <p>People have asked similar questions to this but I don't think they quite help with my question.</p>
  
  <p>I've got a GUI with a JLabel that displays the current value of a String. I would like to put part of a string in bold. The string itself can vary, so I'm not sure HTML will be of help? </p>
  
  <pre><code>String myStr1 = "abc";
  String myStr2 = "this bit in bold";
  String myStr3 = "now back to normal";
  myLabel.setText(myStr1 + [BOLD] myStr2 + myStr3);
  </code></pre>
  
  <p>It seems like this should be simple, I assumed there'd be an escape character or something, but I can't find an easy way.</p>