Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to dispose a JPanel ?

843805Apr 20 2007 — edited Apr 28 2007
Hi,

i want to know, how to dispose or close the JPanel from the application as well as from the memory?.

In Simple,
for JFrame or JInternalFrame we have .dispose(), which will remove the component from view as well as from allocated memory.

What is the equivalant method for that in JPanel.

Thanks in advance.

** Subbu **
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 26 2007
Added on Apr 20 2007
11 comments
2,556 views