Search:

Type: Posts; User: GregBrannon

Search: Search took 0.11 seconds.

  1. Replies
    13
    Views
    1,077

    Re: gui not linking with main project/ class

    My last instruction in post #6 specifically answers this. Don't be afraid of that code and all if its warnings to not touch it. It's YOUR source code (poorly written, though it is), and you should...
  2. Replies
    13
    Views
    1,077

    Re: gui not linking with main project/ class

    C'mon. When we ask you to post the error, post the danged error, copied and pasted from exactly as it appears at your end, all of it. If it's long, put it in code tags. There are several bits of...
  3. Replies
    13
    Views
    1,077

    Re: gui not linking with main project/ class

    Post the error if this doesn't help: Remember that Java is case sensitive. setbutton5Text() is not the same as setButton5Text(). Did you add the method setButton5Text() to class TicTGui?

    Your...
  4. Replies
    13
    Views
    1,077

    Re: gui not linking with main project/ class

    Oh, I was staring at the code later, and I realized (I think) there's no checking to see if either the user or the computer chooses a square that has already been chosen. Disabling the button will...
  5. Replies
    13
    Views
    1,077

    Re: gui not linking with main project/ class

    Then I suggest you do something like:

    Move the main() method to a separate class and reduce it to something like:
    public class TestClass
    {
    public static void main(String args[])
    {
    ...
  6. Replies
    13
    Views
    1,077

    Re: gui not linking with main project/ class

    Yes, I see you're using the GUI Builder. I'm glad I'm not modifying that code.

    The class TicT doesn't seem to be involved in what you've posted, yet it contains the logic for playing the game. ...
  7. Replies
    13
    Views
    1,077

    Re: gui not linking with main project/ class

    What's up with your main() method? Did your copy/paste miss something?

    And where's the class TicTGui? I don't know that you need to post all that's missing, but we need to understand what you're...
Results 1 to 7 of 7