Search:

Type: Posts; User: Endevor

Search: Search took 0.14 seconds.

  1. Replies
    8
    Views
    1,816

    Re: Starting and Stopping a loop with JButtons

    yea, I heard I'd have to look into threads, but I've never really used them before. This is the most complicated program I've made so far (Just started java this semester). I'll look over those...
  2. Replies
    8
    Views
    1,816

    Re: Starting and Stopping a loop with JButtons

    public void Draw() {
    while (keepDrawing == true) {
    NextGeneration();
    DrawGrid();
    }
    }


    I added this to LifePanel.java
  3. Replies
    8
    Views
    1,816

    Re: Starting and Stopping a loop with JButtons

    Yea, I see the redundancy with the JPanel and I'll probably fix that later;
    As I said above, I did not include my QuitButton class because it didn't have anything to do with my question;

    I need...
  4. Replies
    8
    Views
    1,816

    Starting and Stopping a loop with JButtons

    Ok, I'm programming my own Conway's Game Of Life Simulator. Right now I just want to get the basic program down before adding a bunch of horns a whistles. I'm using the acm library. I have one class...
Results 1 to 4 of 4