title: Change state of toggle button from another button
body: <p>I'm creating a Java GUI using Swing with Eclipse and Window Builder Pro. I'm using <code>JButtons</code> and <code>JToggleButtons</code>. I want to change toggle button's state from another button.</p>
  
  <p><img src="https://i.stack.imgur.com/TbbtK.jpg" alt="enter image description here"></p>
  
  <p>For example, when I click the clear grid, all the toggle buttons will be 'not selected'.</p>
  
  <p>How can I do this? What are the methods that I have to use for toggle buttons and buttons?</p>