i am trying to add hold button to my fruit slot machine it seems not to work!
here code
private JButton btnHOLD1,btnHOLD2,btnHOLD3;
add(btnHOLD1);
add(btnHOLD2);
add(btnHOLD3);
btnHOLD1.addActionListener(this);
btnHOLD2.addActionListener(this);
btnHOLD3.addActionListener(this);
if (e.getSource() == btnHOLD1 ){//holds one reel of picture
counter = k1;
timer.stop();

New Topic/Question
This topic is locked



MultiQuote







|