title: Java JTextPane Change Font of Selected Text
body: <p>I have a JTextPane  (or JEditorPane, I can use either no problem).  How can I change the font of a selected area to a specific font?</p>
  
  <p><code>textpane.getSelectedText().setFont()</code> won't work.  (Even with font-family)</p>