Java talks to the underlying GUI (Graphic User Interface) which is typically written in C++ which does not have automatic garbage collection. Therefore you see kludges in Java dispose methods, to help it along. If you fail to use dispose properly, Java won’t run out of RAM (Random Access Memory), but the GUI will. Failing to use dispose create true memory leaks. Here are some common packratting situations:
frame.setVisible( false ); frame.dispose(); frame = null;
This page is posted |
http://mindprod.com/jgloss/packratting.html | |
Optional Replicator mirror
|
J:\mindprod\jgloss\packratting.html | |
Please read the feedback from other visitors,
or send your own feedback about the site. Contact Roedy. Please feel free to link to this page without explicit permission. | ||
Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[3.147.27.129] |
| |
Feedback |
You are visitor number | |