• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

removing from getContentPane() - help!

 
Kenneth Winn
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my JApplet I am creating a new JButton and am putting it in a JPanel and then adding the JPanel to the contentPane (getContentPane()) in the init() method.
In my destroy() method I am attempting to remove it but it is not being removed. I am profiling the applet and the memory is not being released. Can anyone help??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic