Have you tried debugging the program to see what it is doing when it executes? See post#6.
Type: Posts; User: Norm
Have you tried debugging the program to see what it is doing when it executes? See post#6.
Try debugging the code by adding several println() statements that print out messages when methods are executed and also print out the values of variables as they are used and changed.
For example...
I see some problems in the code:
1) The copy and paste of statements were not fixed:
else
if(input.equals("X"))
{
button3.setText("X");
...
Please edit your post and wrap your code with code tags:
<YOUR CODE HERE>
to get highlighting and preserve formatting.