title: Changing Icon Position On Jbutton
body: <p>I have been developing a java project on netbeans. I want to know how to move the icon on <code>JButton</code> to left or right corner when text on center. Can you please help me ? </p>
  
  <p><a href="https://i.stack.imgur.com/PiLhq.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PiLhq.jpg" alt="http://i.stack.imgur.com/PiLhq.jpg"></a></p>