title: JButton with both icon (on top) and text (on bottom) aligned to the left
body: <p>I would like to have a JButton with both icon (on top) and text (on bottom) aligned to the left. The Button can be resized by the user and both should always remain aligned to the left, like this:</p>
  
  <p><a href="https://i.stack.imgur.com/DCuCm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DCuCm.png" alt="enter image description here"></a></p>
  
  <p>I have tried this</p>
  
  <pre><code>// Text alignment
  comp.setHorizontalAlignment(SwingConstants.LEFT);
  // text position
  comp.setVerticalTextPosition(SwingConstants.BOTTOM);
  //set icon alignment?!
  comp.setHorizontalTextPosition(SwingConstants.CENTER);
  </code></pre>
  
  <p>but this is my result (The icon always remains centred in relation to the text!):</p>
  
  <p><a href="https://i.stack.imgur.com/QBKbj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QBKbj.png" alt="enter image description here"></a></p>
  
  <p>Any ideas?</p>