title: What is the best way to check the running status of a Timer?
body: <p>Desired Output: I would like to check for the running condition of the timer and run some code based on that status.</p>
  
  <p>I have the following code...</p>
  
  <pre><code>      if (spin2 == spin3 &amp;&amp; timer1.stop()==true)
    {
  
        lblMessage.setText("Congratulations. You matched 2 symbols");
        credit = credit + 50;
        lblCredit2.setText(credit + " ");
        lblCredit2.setForeground(new Color(11,212,0));
        timer1.stop();
        timer2.stop();
        timer3.stop();
  
    }
  </code></pre>
  
  <p>However, timer1.stop() == true does not work. I need an alternative...</p>
  
  <p><strong>An Idea:</strong></p>
  
  <p>Is changing the value of a boolean when I call start() or stop() the best way to approach the running condition of a timer? or Is there another solution?</p>