title: Getting the state of JToggleButton
body: <p>Say I have a </p>
  
  <pre><code>JToggleButton but = new JToggleButton("OK") ;
  </code></pre>
  
  <p>Now I need the state of <code>but</code> when it is clicked. I mean I need to know if it's clicked or not.</p>