Hi, I have problem with using of JInternalFrame. I create a new internal frame, and close it."setClosed(true);dispose();" The frame does not release the memory (after gc the allocated memory is the same) Before close I removed all listeners, and closed all reference to other object. (I think so :-) ) Do You have any idees? regards G�bor
I tested this out and it looks like if you ever use JInternalFrame, one reference hangs around forever... I'm trying to trace where this reference is saved, but not having much luck. However, this shouldn't lead to a memory leak because if you launch two or three internal frames and close them all you won't have two or three references hanging around, only one.
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
First of all, this thread is way past its 'best by' date. Additionally, your code cannot compile, and since a Container cannot be added to itself, would never remove anything even if the typo is ignored.
There are no new questions, but there may be new answers.