Hi,
I have a problem switching fomrs which I cannot figure out.
Setup:
Mainform contains splitpane1 that contains on the left tabpanel1 with only form1.
On the right, splitpane1 contains splitpane2.
Splitpane2 contains as topcomponent tabpanel2 with tabs for form2 to 5
Splitpane2 contains as bottomcomponent tabpanel3, containing only form6
When the solution opens, it opens the mainform. When I then view form2 (active form in tabpanel2) directly, by selecting it thorugh the windows menu, all is fine.
But when I then switch back to mainform, by selecting mainform from the windows menu, only some elements disappear from form 2 and mainform never shows. When I look in the log at that moment, I see a java.lang.StackOverflowError.
At this point, I can do two things:
- Switch to designmode: then mainform opens in designview
- Go back to form 2 or any other form. The selected form will show ok. After that, when I select mainform again, it shows just fine.
I tried using the debugger, but when I switch from form 2 to mainform with debugger on, nothing happens, except that the debugger window is shown.
Form 2 only has an onShow method attached, no onHide.
Somehow, I was able to reproduce this only with specific form 2, not any other form, while I have other forms with basically the same type of setup…
I’m puzzled. Anyone has an idea?
Paul