Thanks. Hard to get OPs to make that simple of a post.
Type: Posts; User: Norm
Thanks. Hard to get OPs to make that simple of a post.
There are two classes that are of interest: mainmenu and infopannel1
Where is the code for them and their constructors?
BTW The class names don't follow the java standards: classnames should...
What class(es) is that code in?
Please edit your post and wrap your code with code tags:
YOUR CODE HERE
to get highlighting and preserve formatting.
Post the code in the constructors for those classes. The example should be there.
a calls b
b calls a
It looks like a tight loop. Each class's constructor is creating an instance of the other class.
Can one class pass a reference to itself (this) to the other's constructor?
Can you copy and paste here some of the stack trace showing where the recursive calls are being made.
And post the code that that goes with where the recursive calling is being done.