title: Disabling a jToggleButton
body: <p>Hey guys so I'm making this simple movie ticketing system
  My program flow is as follow and all pages are in different JFrames: Main Menu>Choose Day>Select movie>select seat>back to MainMenu</p>
  
  <p>I'm using <code>JToggle</code> in the seat chooser. Is it possible to disable the toggle button throughout entire execution once selected? I'm using  <code>JToggleButton.setEnabled(false);</code> but everytime I go back to menu and come back to seat chooser,the button is still not disabled .what I want to do is to have it disable even after I'm back to MainMenu, so when I go back to seat chooser, I can't select this seat anymore.</p>
  
  <p>Below are some codes in it:</p>
  
  <pre><code>private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {                                         
      // TODO add your handling code here:
      this.setVisible(false);
      MainSelection s =  new MainSelection();
      s.setVisible(true);
  
       if(jToggleButton1.isSelected())
  
      {
          jToggleButton1.setEnabled(false);
      }
  
      if(jToggleButton2.isSelected())
  
      {
          jToggleButton2.setEnabled(false);
      }
  
      if(jToggleButton3.isSelected())
  
      {
          jToggleButton3.setEnabled(false);
      }
  
  }                                        
  </code></pre>
  
  <p>Please check it out</p>