title: JRadioButton: how to replace text by IconImage?
body: <p>I want to replace the text in my radio button list by an icon.</p>
  
  <p>I've tried this:</p>
  
  <pre><code>rotateButton = new JRadioButton(rotateIcon.getImage());
  </code></pre>
  
  <p>But this replaces the radio button and text by the icon. I would like to keep the radio button and display the image.</p>
  
  <p>What should I do?</p>
  
  <hr>
  
  <p>What I'm currently getting is: </p>
  
  <p><img src="https://i.stack.imgur.com/jtwey.png" alt="Enter image description here"></p>
  
  <p>But I want it to end up with this:</p>
  
  <p><img src="https://i.stack.imgur.com/hlHcL.png" alt="Enter image description here"></p>