Dispose « Dialog « Java Swing Q&A





1. Dispose a dialog automatically    coderanch.com

2. how to dispose a JDialog    coderanch.com

Hi, Lot of ways to know that whether the resources are getting destroyed or not.I tried just two :- 1) Used jProfiler for profiling and found the resources holding the memory even after closure of the screen. 2) Just after dialog.dispose(), I used dialog.show() and the screen reappeared which it should'nt in case the screen components are killed. It will be ...