Topic: To : every one !!!! 我有几个问题! please ..... (InternalFrame & 释放对象所占内存)

  Print this page

1.To : every one !!!! 我有几个问题! please ..... (InternalFrame & 释放对象所占内存) Copy to clipboard
Posted by: terry39
Posted on: 2003-05-02 13:51

1)怎样 设置 某个 InternalFrame 为活动窗口
2)怎样 关闭某个 InternalFrame 并切引发"InternalFrameEvent"事件
3)这样 释放 一个对象所占有的内存? ...(特别是 JToggleButton 找不到 dispose() 方法 ...)

2.Re:To : every one !!!! 我有几个问题! please ..... [Re: terry39] Copy to clipboard
Posted by: yakuu
Posted on: 2003-05-08 12:46

1. JInternalFrame.setSelected(true);
2. JInternalFrame.addInternalFrameListener(new InternalFrameAdapter(){
});
3. set the instance value to null; // hard code.


   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