• Post Reply Bookmark Topic Watch Topic
  • New Topic

JInternalFrame is not getting Garbage Collected

 
Sri Rangan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Harish Prabhu
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!