View Single Post
  #2 (permalink)  
Old 07-10-2009, 04:32 AM
Fubarable's Avatar
Fubarable Fubarable is online now
Moderator
 
Join Date: Jun 2008
Posts: 6,483
Rep Power: 8
Fubarable is on a distinguished road
Default
I see that you try to instantiate pongBalls[0], but how many of the other PongBalls in the array do you instantiate? You may need to post all of your code, indicate the line where your exception is thrown, and note (using System.out.println) the value of the array's index when the exception is thrown.
Reply With Quote