title: Changing Font Style when Clicking on a JButton Java
body: <p>How to change the <code>STYLE</code> of the <code>Font</code> when clicking on a <code>JButton</code> ? </p>
  
  <p>I'm trying to have 3 buttons each change styles to <code>PLAIN</code> or <code>BOLD</code> or <code>ITALIC</code></p>
  
  <p>I've read the <code>font Class API</code> but I there is nothing like <code>setStyle</code> we can only <code>getStyle</code></p>
  
  <p>I find font class in java is quite complicated more than it should :S.</p>