Topic: this.dispose()关闭窗口时有没有释放内存????

  Print this page

1.this.dispose()关闭窗口时有没有释放内存???? Copy to clipboard
Posted by: menglong35
Posted on: 2004-08-23 15:51

如题

2.Re:this.dispose()关闭窗口时有没有释放内存???? [Re: menglong35] Copy to clipboard
Posted by: wtuhwv
Posted on: 2004-08-25 17:20

的确,Swing里dispose()一个窗口时内存没有被释放的,不过不用担心,垃圾回收器会帮你收回的!

3.Re:this.dispose()关闭窗口时有没有释放内存???? [Re: menglong35] Copy to clipboard
Posted by: menglong35
Posted on: 2004-08-27 09:51

那就是说我关闭一个子窗口时用dispose()比hide()好了????


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923