title: Setting default font in JEditorPane
body: <pre><code>editorPane.setContentType("text/html");    
  editorPane.setFont(new Font("Segoe UI", 0, 14));
  editorPane.setText("Hello World");
  </code></pre>
  
  <p>This does not change the font of the text. I need to know how to set the default font for the JEditorPane with HTML Editor Kit.</p>
  
  <p>Edit: </p>
  
  <p><img src="https://i.stack.imgur.com/SwolA.png" alt="enter image description here"></p>