|
After reading Fubarable's post regarding the extension of the PongPanel class in PongBall, I removed the extension and commented out the methods in the constructor of PongBall. The program no longer throws an exception. It might be important to note that this is after the initialization of PongBall's are done in the constructor of the PongPanel class. I am still interested in hearing about the circular reference situation, as it might be a better/more correct way to do this?
The program still behaves strangely, but I am confident that without the unexpected exceptions I will be able to work out the other details. Thanks for the time to read this and for the pointers.
|