Search:

Type: Posts; User: Junky

Search: Search took 0.12 seconds.

  1. Replies
    18
    Views
    1,256

    Re: Game over method not updating correctly

    You mean a database!
  2. Replies
    18
    Views
    1,256

    Re: Game over method not updating correctly

    Is it working?
    Do you have a question?

    BTW that massive if statement you have in your action performed method can be replaced with:


    ((JButton)a.getSource()).setText(letter);
  3. Replies
    18
    Views
    1,256

    Re: Game over method not updating correctly

    Because you are doing things in the wrong order!
  4. Replies
    18
    Views
    1,256

    Re: Game over method not updating correctly

    Just had a quick look: why do you check if the game is over before you update the button with 'X' or 'O'?

    Update: just ran your code and due to the above problem it reports that the wrong player...
Results 1 to 4 of 4