Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Replies
    10
    Views
    1,756

    Re: MeteorDodger Game JPanel Help (Timer?)

    The logic is bad. Rethink how to generate and control the fall of the meteors. The loops you have go forever.

    For example I changed that method to:

    private void createMeteor(){...
  2. Replies
    10
    Views
    1,756

    Re: MeteorDodger Game JPanel Help (Timer?)

    Look at your logic for the createMeteor() method. It has loops that run forever.
  3. Replies
    10
    Views
    1,756

    Re: MeteorDodger Game JPanel Help (Timer?)

    When I run your code it gets in a tight loop and I am unable to close the window.
Results 1 to 3 of 3