خرید بک لینک

Vote count: 0

Hi im 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

if (event.getSource()== btnHold1)
  {
      counter = 0;   
      timer1.stop();
      btnHold1.setEnabled(false);
  }

  if (event.getSource()== btnHold1 && event.getSource()== btnRespin)
  {
      timer2.start();
      counter2=0;
      timer3.start();
      counter3=0;
  }

asked 43 secs ago

برچسب: نویسنده: استخدام کار تاريخ: يکشنبه 19 ارديبهشت 1395 ساعت: 9:47

صفحه بندی