Search:

Type: Posts; User: copeg

Search: Search took 0.11 seconds.

  1. Re: Graphics class NullPointerException Initialize Graphics Class??

    My advice would be to think "object oriented programming". Each object has its purpose, and to separate each object based upon that purpose. For example, you have defined classes (World, Meteor,...
  2. Re: Graphics class NullPointerException Initialize Graphics Class??

    And to add to Norm's questions, I also see the following:


    Graphics g;
    Meteor meteor = new Meteor(10, g);
    Player player = new Player(g);

    Object variables that are not initialized are by...
  3. Re: Graphics class NullPointerException Initialize Graphics Class??

    Very few (if any) will download attachments - I recommend you post the code into the forum itself (be sure to use the code tags). For what its worth, I'm betting you are doing the painting incorrect...
Results 1 to 3 of 3