title: GUI using Swing - Trying to get an IF Statement to work with two buttons in the statement
body: <p>I'm writing a Slot machine GUI and i want it so that The Slot machine will stop Reel 1 and roll reel 2 and 3 when "Respin" is pressed. This code is not working for me please help:</p>
  
  <pre><code>if (event.getSource()== btnHold1)
    {
        counter = 0;   
        timer1.stop();
        btnHold1.setEnabled(false);
    }
  
    if (event.getSource()== btnHold1 &amp;&amp; event.getSource()== btnRespin)
    {
        timer2.start();
        counter2=0;
        timer3.start();
        counter3=0;
    }
  </code></pre>