I use lot of JInternalFrames in my swing app. and when I profile thru JProfiler, noticed that none of my JInternalFrames are getting garbage collected. When I close a JInternalFrame, I tried explicitly removing it from desktoppane. But no use. It is causing me lot of problems. I would really appreciate any help Sri
posted 14 years ago
try removing any listeners that you have added to the JinternaFRame . e,g addActionListener(this). you have to call the removelistener methods for all the listeners that have been added.