Search:

Type: Posts; User: CjStaal

Search: Search took 0.17 seconds.

  1. Replies
    26
    Views
    3,564

    [SOLVED] Re: Help with concentration program

    Ah, just an FYI, I fixed everything. The problem was how Java swing handled the updates of the jFrame, only updating AFTER the actionPerformed thread was done and returned to the main thread. I...
  2. Replies
    26
    Views
    3,564

    [SOLVED] Re: Help with concentration program

    Why not? I love eclipse
  3. Replies
    26
    Views
    3,564

    [SOLVED] Re: Help with concentration program

    import these workspace folders in eclipse
  4. Replies
    26
    Views
    3,564

    [SOLVED] Re: Help with concentration program

    It's hard to explain. I tried already it messes up since the GUI and logic need to be in 2 different threads or else it hangs up and never shows the 2nd buttons value if it doesnt match the first...
  5. Replies
    26
    Views
    3,564

    [SOLVED] Re: Help with concentration program

    Text display, basically its an inner workings of java error. It compiles and runs and makes matches but if no match theres a bug that I cant iron out. again that can also be fixed with a SwingWorker...
  6. Replies
    26
    Views
    3,564

    [SOLVED] Re: Help with concentration program

    basically its a memory game
    You click 2 buttons see if the values match if they do keep the text as is, change color to blue
    else if it doesnt match switch back to blank and re-enable

    The first...
  7. Replies
    26
    Views
    3,564

    [SOLVED] Re: Help with concentration program

    I had a version of my code like that, it messes up since the GUI and logic need to be in 2 different threads or else it hangs up and never shows the 2nd clicks value if it doesnt match the first...
  8. Replies
    26
    Views
    3,564

    [SOLVED] Re: Help with concentration program

    how would I implement that?
  9. Replies
    26
    Views
    3,564

    [SOLVED] Re: Help with concentration program

    I'm sorry I didn't word what I meant to say correctly.
    Basically right here

    GUI mainGameWindow = new GUI();
    GLogic gameLogic = new GLogic(mainGameWindow.getAmountOfButtons());...
  10. Replies
    26
    Views
    3,564

    [SOLVED] Re: Help with concentration program

    THe buttons are and arent working lol.
    They're up now but not working due to the code in main.
    3rd window, scolled up 5 lines from bottom is where the comment is. Baiscally I need it to wait for...
  11. Replies
    26
    Views
    3,564

    [SOLVED] Re: Help with concentration program

    AH I forgot that, I just did that actually.
    Updated

    GUI.java
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import...
  12. Replies
    26
    Views
    3,564

    [SOLVED] Help with concentration program

    For some reason my program will not draw the buttons, also I have a comment put in for a line of code that I do not know how to implement.
    Any help is appreciated

    Main.java

    import...
Results 1 to 12 of 12