Search:

Type: Posts; User: joshstevens19

Search: Search took 0.16 seconds.

  1. Re: Novice: Issues With One-Armed Bandit Program

    public void actionPerformed(ActionEvent e)
    if(e.getSource()==btnexit){
    JOptionPane.showMessageDialog(null, "exit game");
    System.exit(0);}
    }

    thats what i have got.. can you change my code and...
  2. Re: Novice: Issues With One-Armed Bandit Program

    i have changed the code so it works fine now (no errors) but it does not exit the bandit machine..

    if(e.getSource()==btnexit){
    JOptionPane.showMessageDialog(null, "exit game");
    ...
  3. Re: Novice: Issues With One-Armed Bandit Program

    how to make the exit button work so the code i have so far is ..

    public void actionPerformed(ActionEvent)}
    If(event.getSource()==btnexit{
    JOptionPane.showMessageDialog(null, "");...
  4. Novice: Issues With One-Armed Bandit Program

    i am doing a assignment where i have to make a electronic bandit on ecplise.. i need to make

    hold buttons
    nudge buttons
    spin button
    exit button
    transfer winning button
    box showing how much...
Results 1 to 4 of 4