Search:

Type: Posts; User: tryingtoJava

Search: Search took 0.10 seconds.

  1. Re: Getting "AWT-EventQueue-0" java.lang.NullPointerException error

    Yes sir. I had no idea the order in init mattered. Now I know better.
  2. Re: Getting "AWT-EventQueue-0" java.lang.NullPointerException error

    Yeah I put that at the bottom and that seems to have done it. The printout still comes on the other screen, but no errors the last few times I have done it. Thanks bro
  3. Re: Getting "AWT-EventQueue-0" java.lang.NullPointerException error

    Yeah basically it is as soon as I run it. Hmmm, is there a way to prevent that? Should I move the mouse listener statement under init or??
  4. Re: Getting "AWT-EventQueue-0" java.lang.NullPointerException error

    Hey Chris, thanks for hitting me back. It comes when I run the program, and behind the screen where my game in being played another window opens up called the BlueJ terminal, and that has my...
  5. Re: Getting "AWT-EventQueue-0" java.lang.NullPointerException error

    I have no idea what the issue is or where to begin. Any help would be greatly appreciated
  6. Getting "AWT-EventQueue-0" java.lang.NullPointerException error

    Here is the error I am getting:


    Here is my code:


    import acm.graphics.*;
    import acm.program.*;
    import java.awt.event.*;
    import java.awt.Color;
Results 1 to 6 of 6