title: JButton text having different CUSTOM fonts
body: <p>Now, I know, different font families can be achieved within a JButton text.
  Like below</p>
  
  <pre><code>JButton button = new JButton("&lt;html&gt;&lt;font face=Arial&gt;Hello &lt;/font&gt;&lt;font face=Verdana&gt;World&lt;/font&gt;&lt;/html&gt;");
  </code></pre>
  
  <p>It looks like this. "Hello" with Arial and "World" with Verdana.</p>
  
  <p><img src="https://i.stack.imgur.com/7lVTN.png" alt="enter image description here"></p>
  
  <p>But, what if I want a word to have a font which I've created using <code>Font.createFont()</code> method. I thought, something like this, would have worked.</p>
  
  <pre><code>Font myFont = createMyFont();
  JButton button = new JButton("&lt;html&gt;&lt;font face=MyFont&gt;Hello &lt;/font&gt;World&lt;/html&gt;");
  </code></pre>
  
  <p>The significance of this question is that I am creating a multilingual software, which has two fonts in a single <code>JButton</code>.</p>
  
  <p>So, I want my <code>JButton</code> to be like this:</p>
  
  <p><img src="https://i.stack.imgur.com/jpBP8.png" alt="enter image description here"></p>
  
  <p>But, it is like this:</p>
  
  <p><img src="https://i.stack.imgur.com/S2xAE.png" alt="enter image description here"></p>