To see where the value of WinnerString is set and where it is changed, add a println after EVERY place it is changed. The print outs should show you where is its values are changing.
Your example...
Type: Posts; User: Norm
To see where the value of WinnerString is set and where it is changed, add a println after EVERY place it is changed. The print outs should show you where is its values are changing.
Your example...
What is the relationship between the button and blank string?
Please post the code showing where this print is being done and where the value is set to X.
I don't understand how that is...
Since he's changed the code, I'll wait for the OP to say where the problems are now.
Then I'll recommend that he add some printlns to print out the values of the variables that are used for the...
Do you have a list of the combinations that do not work?
Have you tried adding printlns that display the variables' values for those combinations to see where your logic problem is?
Did you replace all your usage of == for String compares to use the equals() method?
Can you restate your problem at this point after you have made some program changes.
Have you tried debugging your code by adding printlns to show the values of variables as the code is executing...
MyWindow.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
AppletViewer complained with this one. Applets can not exit the JVM.
Why use a separate JFrame instead of the Applet for displaying the...
Please post the code in the forum so all can see it.
Can you show which combinations are failing?