Thanks Nat,
I kind of "sorted" the problem, by redoing the example.
I won't send you the code because it was a REAL mess. The mess is due to my inexperience using
IDE's (Forte in this instance) which I find frustratingly inflexible as half the code seems to be ineditable, unless you fiddle with the controls.
Anyway in solving one question, another arises! I have one JInternalFrame which then opens 3 other JInternalFrames within it(sort of like a "wizard") in sequence ie
1)open first one
2)Press next which closes first one and opens second one
3)Press next which closes second one and opens third one
4)Can also move backwards to return to previously closed screen or cancel at any point closing all
The problem I have is when closing them, - especially if they have been closed before and then reopened.
It seems to take forever, and sometimes the program "hangs".
The only way I can prevent "hanging" the program is by minimizing then maximizing the outside JInternalFrame. What is happening here? Is there a big performance hit wrt to JInternalFrames?
I am in the process of trying to modify the code ie without removing the JInternalFrames from the DesktopPane and without closing them (use setVisible(false) instead. Maybe this will be less demanding on memory?
Anyone with any ideas?
Thanks a lot