Search:

Type: Posts; User: Jakesta42

Search: Search took 0.10 seconds.

  1. Replies
    19
    Views
    2,039

    Re: Tic Tac Toe ActionPerformed Issue

    As you can see in the code, the 'WinnerString' is undefined at first. It is set to the value of the button if a winning combination is met. Otherwise it stays blank. When the button is clicked (which...
  2. Replies
    19
    Views
    2,039

    Re: Tic Tac Toe ActionPerformed Issue

    Thank you for all of these replies. Yes, the code has been changed a little, and I have tried using a println everytime the Applet reaches that button. The problem seems to be that ActionPerformed is...
  3. Replies
    19
    Views
    2,039

    Re: Tic Tac Toe ActionPerformed Issue

    Yes, I did change all of the string comparisons to '.equals()', but the same problem still persists, and there was no visible change. Sorry about this; it's difficult to explain the specific problem,...
  4. Replies
    19
    Views
    2,039

    Re: Tic Tac Toe ActionPerformed Issue

    Yes, I understand that the Applet ends up comparing blank strings, which is what initiates the 'Win' boolean, but I already tried to find my way
    around that with the 'IfNull' boolean at the end.
    ...
  5. Replies
    19
    Views
    2,039

    Re: Tic Tac Toe ActionPerformed Issue

    Apologies, I'm new to this forum. The combinations that aren't working are:

    Row1Column1 + Row1Column2 + Row1Column3
    Row1Column3 + Row2Column3 + Row3Column3

    The Code (pardon the awfulness of...
  6. Replies
    19
    Views
    2,039

    Tic Tac Toe ActionPerformed Issue

    Hey all,

    I'm currently in the process of making Tic Tac Toe, and most of it is working. The way I wrote it (Warning: It's written in a god-awful manage) is with
    9 buttons, with the a String...
Results 1 to 6 of 6